NEW
Font size
WorksheetsQuiz - Version Control with Git and GitHub
Total questions: 10
Worksheet time: 2mins
What is Git?
A version control system
Another name for GitHub
A remote repository platform
A programming language
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 command should you use to initialize a new Git repository?
git bash
git install
git init
git start
What is the command to get the current status of the Git repository?
git –get status
git status
git –status
git -s
What is the command to view the history of commits for the repository?
git log
git –full-log
git commits
git history
Which command do we use to stage the changes in the file greet.rb?
git add changes greet.rb
git add greet.rb
git stage changes greet.rb
git stage greet.rb
Which command do we use to establish a new version in our Git history with a message explaining how the version has changed?
git commit
git m commit
commit git message
git commit -m
What is the command to move to the branch named bug-fix?
git branch -move bug-fix
git checkout branch bug-fix
git branch bug-fix
git checkout bug-fix
Which command lists all the remote “short names” known to a Git repository?
all remotes
git remote -v
view git remotes
git remote view
Which of the following is the correct way to send code to a remote repo for the first time?
git push
git push -u origin master
git send
git push new
