Q.1
Which is Distributed version control system?
  • cvs
  • perforce
  • svn
  • Git
Q.2
After you add a file, it becomes
  • Committed
  • Modified
  • Staged
  • Untracked
Q.3
Which of the following is true you when you use the following command?git add -A
  • All new and updated files are staged
  • Files are staged in alphabetical order.
  • All new files are staged
  • Only updated files are staged
Q.4
What command lets you create a connection between a local and remote repository?
  • git remote add origin
  • git remote add new
  • git remote new origin
  • git remote origin
Q.5
.......... is equivalent to fetch and merge
  • pull
  • syncronize
  • push
  • fetch
Q.6
Arranging customers names in ascending order is an example of,
  • process
  • information processing
  • Information
  • data
Q.7
How do you supply a commit message to a commit?
  • Git message "My first commit"
  • Git add "My first commit"
  • Git commit "My first commit"
  • Git commit -m "I'm coding!"
Q.8
Which two configuration properties does the tool expect to be configured after installing Git and prior to issuing the first commit?
  • email address and password
  • username and password
  • username and IP address
  • username and email address
Q.9
What's a shortcut to staging all the changes you have?
  • Git commit add .
  • Git commit .
  • Git add .
  • Git stage -a
Q.10
Which of the following commands is used in switching between branches?
  • Git branch
  • Git checkout
  • Git switch
  • Git merge
Q.11
Which of the following commands will allow you to change branches?
  • git checkout
  • git clone
  • git add
  • git commit
Q.12
Which Command is used to show limited number of commits?
  • git fetch <remote>
  • git log -n <limit>
  • git config <limit>
  • git status
Q.13
Git reset --hard used to?
  • uncommitted the changes, unstage the changes
  • uncommitted the changes
  • uncommitted the changes, unstage the changes, delete the changes
  • Unstage the changes
Q.14
What will the following command print to the Terminal?git remote -v
  • A list of remote repositories you are connected to
  • The current git version you're running
  • An inline editor for modifying remote repositories
  • The last 5 git versions you've installed
Q.15
What is the area where uncommitted changes are temporarily held after adding?
  • Staging Area
  • Unstaging Area
Q.16
Command to check the created, modified, deleted files in gitbash before Commit?
  • git show
  • git log
  • git status
  • all of the above
Q.17
Which command is useful for getting a high-level overview of the project history?
  • git log --oneline
  • git reset --hard
  • git log --author="<pattern>"
  • git rebase <base>
Q.18
Which of the following is not a Git configuration scope?
  • Local
  • User
  • System
  • Global
Q.19
Which vendor acquired GitHub for $7.5 billion in June 2018?
  • Oracle
  • Microsoft
  • IBM
  • Google
Q.20
Which of the following commands will merge branch-a into the master branch?
  • git merge master and git checkout branch-a
  • git checkout branch-a and git merge master
  • git checkout master and git merge branch-a
  • git merge branch-a and git checkout master
0 h : 0 m : 1 s