The command "git ___________" is used to create a new branch in Git.

  • branch
  • init
  • create
  • new
The correct option is "branch." The command "git branch" is used to create a new branch in Git. This is a fundamental operation in Git for branching and managing different versions of a project. When you run "git branch" followed by the branch name, Git creates a new branch based on the current state of the repository.
Add your answer
Loading...

Leave a comment

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