git make branch from current branch code example
Example 1: how to branch from a branch in git
$ git checkout -b myFeature dev
Example 2: git create new branch from current
git checkout -b topic/newbranch
Example 3: git branch from current branch
git checkout -b <branch-name>