The git ______ command is used to switch branches or restore working tree files.

  • checkout
  • switch
  • restore
  • branch
The correct option is "checkout." The git checkout command in Git is versatile and can be used for various purposes, including switching branches and restoring working tree files. For example, git checkout switches to the specified branch.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *