wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Git Github MLSA

Total questions: 10

Worksheet time: 8mins

Name
Class
Date
1.

 Which is the correct order to submit your changes from the working directory to the remote repository?

a)

git add, git commit, git push

b)

git push, git add, git commit

c)

git add, git push, git commit

d)

git commit, git add, git push

2.

Which of these terms best describes git?

a)

Integrated development environment

b)

Distributed Version control system

c)

Issue tracking system

d)

Web-based repository hosting service

3.

What does the command “git status” do?

a)

Shows the changes between commits, working trees

b)

Displays the state of staging area

c)

Pulls new changes from the currently working branch

d)

Creates an empty Git repository

4.

What's the git command that downloads your repository from GitHub to your computer?

a)

Git pull

b)

Git fork

c)

Git clone

d)

Git commit

5.

The git help command is used to.

a)

Show a list of the most used commands in Git

b)

Displays a list of network information.

c)

Help the user to commit his code

d)

Show a list with the ips

6.

What does Git logo look like?

a)
b)
c)
d)
7.

 What does forking a repository do?

a)

It serves to notify the owner of the project that we want to implement some master branch changes.

b)

Creates a personal copy of a repository ,owned by another person, in your github account.

c)

Pins the unimportant of the commit

d)

Helps identify the conflicts

8.

 How would you commit this with the message "adding new authors to index"?

a)

git commit -m "adding new authors to index"

b)

git commit "adding new authors to index"

c)

 

git commit .

d)

 

Both a) and b)

9.

 Command to push your code from local system to GitHub

a)

git push -u origin <branch_name>

b)

git push <branch_name>

c)

~push <branch>

d)

~git push origin <branch>

10.

Which company owns GitHub?

a)
b)
c)
d)