Practice Quiz: Using a Remote Repository

5. Name the command that gathers all the snapshots we've taken and sends them to the remote repository.

  • git pull
  • git remote update
  • git checkout
  • git log -p -1

6. If we need to find more information about a remote branch, which command will help us?

  • git fetch
  • git checkout
  • git remote update
  • git remote show origin

7. What command will download remote branches from remote repositories without merging the content with your current workspace automatically?

  • git checkout
  • git pull
  • git fetch
  • git remote update

8. What type of merge creates a new merge commit?

  • Fast-forward merge
  • Implicit merge
  • Explicit merge
  • Squash on merge

9. What method of getting remote contents will automatically merge the remote branch with the current local branch?

  • git fetch
  • git checkout
  • git remote update
  • git pull

Devendra Kumar

Project Management Apprentice at Google

Leave a Reply