Which Git command is used to create a new branch?

  1. git create
  2. git make
  3. git new
  4. git branch

Explanation

The 'git branch ' command creates a new branch. You can also use 'git checkout -b ' to create and switch to the new branch in one command.