11. Which command is used to download the latest changes from a remote repository?

  • git pull
  • git push

12. You want to create a new branch named “feature”. Which of the following commands can you use?

  • git clone feature
  • git branch feature
  • git checkout -b feature

13. You’re working on a clothing store application and run the git diff command on your local repository. It outputs the lines below. Which clothing item was removed as part of these changes?

@@ -4,8 +4,8 @@
* Hat
-* Shoes
+* Dress
* Watch

  • Hat
  • Shoes
  • Dress
  • Watch

14. What command in git can be used to show all changes made by each developer?

  • git clone
  • git blame
  • git diff
  • git log

Leave a Reply