how to create a new branch from existing branch in github code example
Example 1: create branch from existing branch
$ git checkout -b myFeature dev
Example 2: create a new branch from existing branch in git
git checkout -b subbranch_of_b1 branch1