wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

SkillDojo <> Git Bet

Total questions: 16

Worksheet time: 8mins

Name
Class
Date
1.
Which command is used to show limited number of commits?
a)
git fetch
b)
git log -n
c)
git config
d)
git status
2.
Which command defines the author email to be used for all the commits by the current user.
a)
git clean -f
b)
git config --global user.email
c)
git merge --no-ff
d)
 git email--amend
3.
Which command is useful for getting high level overview of the project history.
a)
git log --oneline
b)
git reset --hard
c)
git log --author=""
d)
git rebase
4.
Which command creates an empty Git repository in the specified directory?
a)
git reset
b)
git log
c)
git init
d)
git init --bare
5.
Which one of the following is not part of the data structure of a Git repository?
a)
Branch pointer
b)
Body element
c)
Commit object<br />
d)
Head pointer
6.
In Git, if you want to make your local repository reflect changes that have been made in a remote (tracked) repository, you should run the pull command
a)
true
b)
Flase
7.
The Git clone command does which of the following?
a)
Makes a local copy of the repository
b)
Creates a working directory
c)
. Commits a new branch
d)
. Both 1 & 2
8.
Git is a .................... Version Control tool.
a)
Decentralized
b)
Centralized
9.
GIT belongs to the............. generation of Version Control tools
a)
2nd
b)
3rd
c)
4th
d)
5th
10.
The main objectives of Git are -
a)
speed
b)
data integrity
c)
support for distributed non-linear workflows
d)
All of the above
11.
If you want to make radical changes to your team’s project and don’t want to impact the rest of the team, you should implement your changes in
a)
the root
b)
a tag
c)
the trunk
d)
None of the above
12.
What is the full form of GIT?
a)
Gastro Intestional Track
b)
Gastro International Track
c)
None of these
13.
What is an alternative to merging in git?
a)
 Basing
b)
Rebasing
c)
Both 1 and 2
d)
None of these
14.
Which of the following graphical GIT client for LINUX?
a)
 Smart git
b)
Git Cola
c)
Git-g
d)
All of the above
15.
Which of the following isn't a Git configuration scope?
a)
User
b)
System
c)
Local
d)
Global
16.
Which of the following vendor acquired GitHub for $7.5 billion in June 2018?
a)
IBM
b)
Microsoft
c)
Google
d)
Oracle