Font size
WorksheetsGIT Workshop 2021
Total questions: 20
Worksheet time: 10mins
Git is
Open Source Project
Distributed Version Control System
Remote Repository
All of them
git init is used to
Creates a new local repo
Adds configuration
remote pull the central pull
synchronize local repo with central repo
git commit command use to
push changes from local repo to central repo
stage changes
push changes from staging area to remote repo
all of them
git commit -m < ? >, ? is for
file name to be commited
comment
repo url
None
Command used to view history of a repo?
git log
git init
git connect repo
git configure
Right command to stage all files
git add
git add *
git add <fileName>
None
Which one of them is incorrect command
git add Test.txt
git pull origin master
git push origin master
None
After you add a file, it becomes
Committed
Modified
Staged
Untracked
How do you check the state of your local git repository since your last commit?
git check
git status
git commit
git diff
After you install Git and prior to issuing the first commit, which two configuration properties does the tool expect to be configured?
username and email address
username and password
email address and password
username and IP address
Which programming language was used to create Git?
C
HTML
PHP
C++
Who is attributed with inventing Git?
Guido van Rossum
James Gosling
Kohsuke Kawaguchi
Linus Torvalds
Git was found in year
2001
2005
2007
1998
Which of the following is not a version control Example?
Git
Google Docs
GitHub
subversion
Which of the following git command that downloads your repository from GitHub to your computer?
git fork
git clone
git pull
git push
Which of the following advantage of using GIT?
Collaboration friendly
Data redundancy and replication
Data redundancy and replication
All of the above
Which of the following is not true in terms of git
Fork
Stem
Staging Area
Push
Git is
Distributed version control system
Centralized version control system
None of the Above
The files that can be committed are always present in git:
Git Repo
Local Repo
Working directory
Staging area
Can we use git without GitHub?
Yes
No
