git add in branch also adds in another branch code example
Example 1: can i create a branch inside of another branch in GIT
$ git commit -am "Your message"
Example 2: can i create a branch inside of another branch in GIT
$ git push origin dev
$ git push origin myFeature