cut a new branch from another branch in git code example
Example 1: create new branch git
$ git checkout -b [name_of_your_new_branch]
Example 2: create a new branch from existing branch in git
git checkout -b subbranch_of_b1 branch1
$ git checkout -b [name_of_your_new_branch]
git checkout -b subbranch_of_b1 branch1