create another branch from current branch code example
Example 1: git create new branch from current
git checkout -b topic/newbranch
Example 2: create branch from another branch
$ git checkout -b myFeature dev
git checkout -b topic/newbranch
$ git checkout -b myFeature dev