NEW
Font size
WorksheetsGIT & GITHub
Total questions: 10
Worksheet time: 2mins
1. Which of these terms best describes GitHub?
Issue Tracking System
Web-Based Repository Hosting Service
Distributed Version Control System
Integrated Development Environment
2. Which command should you use to initialize a new git repository?
Git install
Git bash
Git start
Git init
3. What is the opposite of git clone?
Git push
Git status
Git add
Git upload
4. How do you check the state of your local git repository since your last commit?
Git commit
Git status
Git check
Git diff
5. How do you supply a commit message to a commit?
Git message "I'm coding!"
Git commit "I'm coding!"
Git commit -m "I'm coding!"
Git add "I'm coding!"
6. What's the git command that downloads your repository from GitHub to your computer?
Git fork
Git commit
Git clone
Git push
7. Which is the correct usage of push command?
Git push <branch> <remote>
Git push <remote> <branch>
Both correct
None of them
8. Which is the correct order to submit your changes from the working directory all the way to the remote repository?
Git add, git commit, git push
Git push, git add, git commit
Git add, git push, git commit
Git commit, git add, git push
9. To get the lastest changes from your remote repository, the git command is?
Git pull down
Git reset
Git refresh
Git pull origin master
10. After you initialize a new git repository and create a file named git-quiz.html, which of the following commands will not work if issued?
Git add git-quiz.html
Git commit -m "git quiz web file added"
Git add
Git status
