git creating a branch from another branch code example
Example 1: create branch from another branch
$ git checkout -b myFeature dev
Example 2: git create new branch
// create and checkout new branch
git checkout -b new_branch
$ git checkout -b myFeature dev
// create and checkout new branch
git checkout -b new_branch