Git Quiz


1. Which command will update your local repository with changes others have made?
git push
git pull
git clone
git commit -m

2. Which command will create a new copy of a git project on your local repository?
git push
git pull
git clone
git commit -m

3. Which command will update the git repository with changes you have made?
git push
git pull
git clone
git commit -m

4. Which command will check for merge conflicts and let you write a message about your changes?
git push
git pull
git clone
git commit -m

5. Which command will let you add all of your files to the commit?
git add /all
git add *
git add --all
git append *

6. Which is a command line tool used for version control?
Github
Git

7. Which is a graphical user interface for version control?
Github
Git

8. Which command will let you view merge conflicts?
git gud
git merge
git diff
git out

9. Which command can be used to set aside your changes?
git checkin --filename
git checkout --filename
git status --filename
git out --filename

10. (bonus) Which Github plugin command can be used for emergency commits incase of fire?
git gud
git out
git fire
git /!