git checkout -b <new-branch> <existing-branch>
Syntax: git branch <new-branch-name> <existing-branch-name> Example: git branch newone master Here newone is new branch and master is existing
git checkout -b subbranch_of_b1 branch1