new branch from existing branch git code example
Example 1: git command to create a branch from another branch
$ git checkout -b myfeature dev
Example 2: how to make branch in git command
git branch crazy-experiment
$ git checkout -b myfeature dev
git branch crazy-experiment