how to create git branch locally in git code example
Example 1: create new branch git from master
git checkout -b new-branch-name
Example 2: git command to create a branch from another branch
$ git checkout -b myfeature dev
git checkout -b new-branch-name
$ git checkout -b myfeature dev