git branching off a branch code example
Example 1: create new branch git
$ git checkout -b [name_of_your_new_branch]
Example 2: create branch from another branch
$ git checkout -b myFeature dev
Example 3: create branch from existing branch
$ git checkout -b myFeature dev