wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Git Set Go Set 2

Total questions: 25

Worksheet time: 8mins

Name
Class
Date
1.
What command do you run to view the commit history of your repository?
a)
GIT history
b)
GIT log
c)
GIT commit -h
d)
GIT past
2.
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
3.
.gitignore tracks the specified files that are to be _______
a)
tracked
b)
Ignored
c)
secured
d)
deleted
4.
readme files are usually written in ______ format
a)
.txt
b)
.html
c)
.md
d)
.doc
5.
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
6.
Which of the following commands show changes between commits?
a)
GIT commit
b)
GIT reset
c)
GIT diff
d)
GIT show
7.
Which option should you use to set the default user name for every repository on your computer?
a)
No need to specify
b)
--all
c)
--global
d)
--A
8.
Github Service was first developed using which language?
a)
Ruby on Rails
b)
Flash
c)
Java
d)
Python
9.
git fetch + git merge equal to?
a)
git push
b)
git branch
c)
git pull
d)
None of the above
10.
Git can be used for which project?
a)

Java enterprise project

b)

Net project

c)

File version management

d)

All of the above

11.
A head is nothing but a reference to the last commit object of a branch.
a)
Yes
b)
No
c)
cannot say
d)
depends on the object
12.
Gists' URLs uses what type of IDs?
a)
Binary
b)
Octal
c)
Decimal
d)
Hexadecimal
13.
Name the service integration provided by Github for automated code analysis specialized in web and mobile developers.
a)
Waffle.io
b)
Rollbar
c)
Codebeat
d)
Travis CI
14.
You can initialze a git repo inside an exising git repo
a)
True
b)
False
c)
cannot be determined
d)
Depends on folder
15.
How will you check the current git version ?
a)
git --v
b)
git --option
c)
git --current
d)
git --version
16.
To print the list of all remote origins we use ___ command
a)
git remote -v
b)
git remote view origin
c)
git remote view
d)
git add .
17.
Where are the files stored before they are commited to the local repository
a)
git docs
b)
cache area
c)
staging area
d)
git logs
18.
Which command creates a copy of an existing git repo
a)
git copy
b)
git clone
c)
git dupe
d)
git move
19.
In order to go to dettached head state we use _________command
a)
git checkout
b)
git restore
c)
git detach
d)
git switch
20.
What is the Github service developed for teams for translating their content from one point to other?
a)
Travis CI
b)
Rollbar
c)
Codebeat
d)
GitLocalize
21.
What is Github integrated with?
a)
Gist
b)
Jekyll
c)
Namecheap
d)
None of the above
22.
____ reported that GitHub had surpassed SourceForge and Google Code in total number of commits for the period of January to May 2011.
a)
ZDNet
b)
ReadWriteWeb
c)
Mashable
d)
Engadget
23.
which of the following is not an alternative for Github
a)
Gitlab
b)
Beanstalk
c)
gitea
d)
bytebucket
24.
which command is used to compare two specified branches
a)
git merge
b)
git diff
c)
git comp
d)
git bash
25.
which of the following is graphical client for linux
a)
smart git
b)
git cola
c)
git -g
d)
all of the above