how to create new branch from existing branch in git code example
Example 1: create branch from existing branch
$ git checkout -b myFeature dev
Example 2: new branch from existing branch
git checkout -b <branch-name>
$ git checkout -b myFeature dev
git checkout -b <branch-name>