A new branch in Git can be created and switched to using the git _______ command.

  • branch
  • checkout
  • merge
  • commit
The 'git checkout' command is used to switch branches in Git. This command is also used to create a new branch and switch to it. The correct option is 'checkout'.
Add your answer
Loading...

Leave a comment

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