how to open a new branch git code example
Example 1: git new branch create
git checkout -b <new-branch>
Example 2: how to create a branch in git
$ git branch [name of branch]
git checkout -b <new-branch>
$ git branch [name of branch]