wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Git & GitHub

Total questions: 10

Worksheet time: 2mins

Name
Class
Date
1.

Git is an:

a)

Distributed Version Control System

b)

Centralized Version Control System

c)

Not an Version Control System

2.

Which of these terms best describes GitHub?

a)

Integrated Development Environment

b)

Distributed Version Control System

c)

Issue Tracking System

d)

Web-based repository hosting service

3.

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

a)

git push

b)

git fork

c)

git clone

d)

git commit

4.

How do you check the status of your local git repository since your last commit?

a)

git check

b)

git status

c)

git commit

d)

git diff

5.

How do you stage files for a commit?

a)

git stage

b)

git commit

c)

git add

d)

git reset

6.

What's the shortcut to staging all the changes you have done?

a)

git commit add .

b)

git commit .

c)

git add .

d)

git push -m "message"

7.

What comes first, staging with git add . or committing with git commit?

a)

Staging your commit with git add .

b)

Committing with git commit .

8.

Which command should you use to initialize a new git repository?

a)

git bash

b)

git install

c)

git init

d)

git start

9.

To get the latest changes from your remote repository, the git command is?

a)

git refresh

b)

git pull down

c)

git pull origin master

d)

git reset

10.

Which is the correct push command?

a)

git push <remote> <branch>

b)

git push <branch> <remote>

c)

Both correct

d)

None of them.