git create new local branch from the current code example
Example 1: git create new branch from current
git checkout -b topic/newbranch
Example 2: create a new branch based on another branch
//when on branch 'dev' make branch 'myFeature' off of 'dev'
git checkout -b myfeature dev