wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

GIT Workshop 2021

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

Git is

a)

Open Source Project

b)

Distributed Version Control System

c)

Remote Repository

d)

All of them

2.

git init is used to

a)

Creates a new local repo

b)

Adds configuration

c)

remote pull the central pull

d)

synchronize local repo with central repo

3.

git commit command use to

a)

push changes from local repo to central repo

b)

stage changes

c)

push changes from staging area to remote repo

d)

all of them

4.

git commit -m < ? >, ? is for

a)

file name to be commited

b)

comment

c)

repo url

d)

None

5.

Command used to view history of a repo?

a)

git log

b)

git init

c)

git connect repo

d)

git configure

6.

Right command to stage all files

a)

git add

b)

git add *

c)

git add <fileName>

d)

None

7.

Which one of them is incorrect command

a)

git add Test.txt

b)

git pull origin master

c)

git push origin master

d)

None

8.

After you add a file, it becomes

a)

Committed

b)

Modified

c)

Staged

d)

Untracked

9.

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

a)

git check

b)

git status

c)

git commit

d)

git diff

10.

After you install Git and prior to issuing the first commit, which two configuration properties does the tool expect to be configured?

a)

username and email address

b)

username and password

c)

email address and password

d)

username and IP address

11.

Which programming language was used to create Git?

a)

C

b)

HTML

c)

PHP

d)

C++

12.

Who is attributed with inventing Git?

a)

Guido van Rossum

b)

James Gosling

c)

Kohsuke Kawaguchi

d)

Linus Torvalds

13.

Git was found in year

a)

2001

b)

2005

c)

2007

d)

1998

14.

Which of the following is not a version control Example?

a)

Git

b)

Google Docs

c)

GitHub

d)

subversion

15.

Which of the following git command that downloads your repository from GitHub to your computer?

a)

git fork

b)

git clone

c)

git pull

d)

git push

16.

Which of the following advantage of using GIT?

a)

Collaboration friendly

b)

Data redundancy and replication

c)

Data redundancy and replication

d)

All of the above

17.

Which of the following is not true in terms of git

a)

Fork

b)

Stem

c)

Staging Area

d)

Push

18.

Git is

a)

Distributed version control system

b)

Centralized version control system

c)

None of the Above

19.

The files that can be committed are always present in git:

a)

Git Repo

b)

Local Repo

c)

Working directory

d)

Staging area

20.

Can we use git without GitHub?

a)

Yes

b)

No