create branch from other branch instead of master code example
Example 1: create 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"