git each part new branch code example
Example 1: creating a branch in git
git checkout -b <branch_name>
Example 2: creating new branch in git
Create a new branch named issue1.
$ git branch testing
git checkout -b <branch_name>
Create a new branch named issue1.
$ git branch testing