Font size
WorksheetsGit & GitHub Quiz
Total questions: 15
Worksheet time: 5mins
Are Git and GitHub the same thing?
Yes
No
Which of these terms best describes GitHub?
an issue tracking system
a web-based repository hosting service
a distributed version control system
an Integrated Development Environment
What is the term for something on GitHub that holds a collection of all files related to one particular project (similar to a folder or package)?
repo
branch
issue
git
Which command fetches and downloads content from a remote repository and immediately updates the local repository to match that content?
push
pull
take
commit
Which command is the opposite of git clone, that uploads your changes and code back to GitHub instead of downloading your code from GitHub?
push
pull
add
status
Which command is run to check the state of your local git repository since your last commit?
check
status
commit
diff
Which command saves your changes to a repository?
init
status
commit
save
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
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
To get the latest changes from your remote repository, the git command is?
git pull down
git reset
git refresh
git pull origin main
After you initialize a new git repository and create a file named git-quiz.html, which of the following commands will not work if you run it?
git add git-quiz.html
git commit -m "git quiz HTML file added"
git add
git status
