wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

lesson02 Git and GitHub Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What does Git stand for?

a)

Global Information Tracker

b)

Graphical Interface Tool

c)

General Internet Technology

d)

Version Control System

2.

What is a Repository in Git?

a)

A file that stores information about the next commit

b)

A directory that contains project work and communication files

c)

A command to check the work status

d)

An ID number for each commit

3.

What is the purpose of the Staging Area in Git?

a)

To prepare files for the next commit

b)

To create a new line of development

c)

To store a snapshot of the project

d)

To revert files back to a previous state

4.

What does the 'git status' command do?

a)

Removes a file from the working folder

b)

Creates a new branch in Git

c)

Checks the status of your work progress and modifications

d)

Adds all folder files to be tracked

5.

What is the purpose of the 'git log' command?

a)

Adds a new file to the repository

b)

Displays information about each commit

c)

Checks the remote repository

d)

Creates a new repository on GitHub

6.

What is the main function of GitHub?

a)

To track changes in project folders

b)

To store snapshots of the project

c)

To collaborate with other developers remotely

d)

To create branches in Git

7.

Can Git be used independently of GitHub?

a)

Yes, Git is independent of GitHub

b)

GitHub is essential for Git commands

c)

No, Git requires GitHub for all operations

d)

Git cannot function without GitHub

8.

What is the purpose of the 'git clone' command?

a)

To create a new branch in Git

b)

To revert the entire project back to a previous state

c)

To work with a project already hosted on GitHub

d)

To add all folder files to be tracked

9.

How can you add a project to GitHub?

a)

By using the 'git push' command

b)

By initializing a hidden Git tracking folder

c)

By using the 'git status' command

d)

By creating a new branch in Git

10.

What is the purpose of the 'git init' command?

a)

To create a new branch in Git

b)

To start tracking a working folder with Git

c)

To check the remote repository

d)

To add all folder files to be tracked