wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Git Quiz

Total questions: 13

Worksheet time: 7mins

Name
Class
Date
1.

What is git?

a)
Git is a programming language.
b)
Git is a cloud storage service.
c)
Git is a distributed version control system.
d)
Git is a text editor.
2.

What is GitHub?

a)

VCS

b)

A file-sharing system

c)

A web-based platform for Version Control

d)

Social media site

3.

What command is used to stage changes in Git?

a)

Git push

b)

Git commit

c)

Git pull

d)

Git add

4.

Git is only used by programmers and developers to manage code.

a)

True

b)

False

5.

Which editor is initially configured with Git?

a)

Vim

b)

Vs code

c)

Nano

d)

Jupyter

6.

In command: git commit -a -m "Message" , What are -a and -m?

a)

Tags

b)

Attributes

c)

Flags

d)

Message

7.

How to bypass the staging part of the Git lifecycle?

a)

Git push commit

b)

Git force commit

c)

Git status

d)

Git commit -a

8.

Git commit has an ______ hash which is ___ characters long.

a)

Alphabet, 40

b)

Alphanumeric, 42

c)

Alphanumeric, 40

d)

Numeric, 42

9.

Git diff shows us?

a)

Difference between files

b)

Changes made

c)

Recent commits

d)

Commit hashes

10.

Git rm shows us?

a)

Rename the expo

b)

Differences b/w files

c)

Remove the file or repo

d)

Remember the changes

11.

How to unstage files And revert back the changes?

a)

Git checkout filename

b)

Git reset head filename

c)

Git push

d)

Git revert commit

12.

How to change branch in git?

a)

Git checkout branch

b)

Git change branch

c)

Git checkin branch

d)

Git branch switch

13.

Is git open-source?

a)

True

b)

False