All Coursera Quiz Answers

Module Quiz: Working with Git Quiz Answers

In this article i am gone to share Coursera Course: Version Control Week 3 |  Module Quiz: Working with Git Quiz Answers with you..

Version Control Coursera Quiz Answers

Enroll Link: Version Control


Visit this link:  Module Quiz: Command Line Quiz Answers


 

Module Quiz: Working with Git Quiz Answers

Question 1)
The git add command will add files and changes to the staged area.

  • True
  • False

Question 2)
What git command will show you the current state of the local working directory?

  • git status
  • git clone
  • git pull

Question 3)
What command do you use to upload changes to a remote repository?

  • git commit
  • git push
  • git clone

Question 4)
The git diff command will show the revision history of a repository.

  • True
  • False

Question 5)
Which command is used to download the latest changes from a remote repository?

  • git pull
  • git push

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

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

Question 7)
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
@@ -4,8 +4,8 @@
* Hat
-* Shoes
+* Dress
* Watch

  • Shoes
  • Hat
  • Watch
  • Dress

Question 8)
What command in git can be used to show all changes made by each developer?

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