make a new branch git command from existing branch code example
Example 1: make a new branch git
git checkout -b branch-name
Example 2: create new branch git
$ git checkout -b newBranchName
git checkout -b branch-name
$ git checkout -b newBranchName