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.

1. Which of these terms best describes GitHub?

a)

Issue Tracking System

b)

Web-Based Repository Hosting Service

c)

Distributed Version Control System

d)

Integrated Development Environment

2.

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

a)

Git install

b)

Git bash

c)

Git start

d)

Git init

3.

3. What is the opposite of git clone?

a)

Git push

b)

Git status

c)

Git add

d)

Git upload

4.

4. How do you check the state of your local git repository since your last commit?

a)

Git commit

b)

Git status

c)

Git check

d)

Git diff

5.

5. How do you supply a commit message to a commit?

a)

Git message "I'm coding!"

b)

Git commit "I'm coding!"

c)

Git commit -m "I'm coding!"

d)

Git add "I'm coding!"

6.

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

a)

Git fork

b)

Git commit

c)

Git clone

d)

Git push

7.

7. Which is the correct usage of push command?

a)

Git push <branch> <remote>

b)

Git push <remote> <branch>

c)

Both correct

d)

None of them

8.

8. Which is the correct order to submit your changes from the working directory all the way 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

9.

9. To get the lastest changes from your remote repository, the git command is?

a)

Git pull down

b)

Git reset

c)

Git refresh

d)

Git pull origin master

10.

10. After you initialize a new git repository and create a file named git-quiz.html, which of the following commands will not work if issued?

a)

Git add git-quiz.html

b)

Git commit -m "git quiz web file added"

c)

Git add

d)

Git status