create and checkout a new branch called 'new_branch' code example
Example 1: create branch from existing 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