create a branch based on another branch 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 checkout -b myFeature dev
$ git checkout -b myFeature dev
$ git checkout -b myFeature dev