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