how to branch code example
Example 1: make a new branch git
git checkout -b branch-name
Example 2: command to create a new branch in git
$ git checkout -b <branch-name>
git checkout -b branch-name
$ git checkout -b <branch-name>