git create one branch from another code example
Example 1: git command to create a branch from another branch
$ git checkout -b myfeature dev
Example 2: can i create a branch inside of another branch in GIT
$ git commit -am "Your message"
$ git checkout -b myfeature dev
$ git commit -am "Your message"