git checkout new branch from current branch code example
Example 1: create branch from existing branch
$ git checkout -b myFeature dev
Example 2: git command to create a branch from another branch
$ git checkout -b myfeature dev
Example 3: git new branch create
git checkout -b <new-branch>