create a git branch from another branch code example
Example 1: create and go to branch
git checkout -b <branch_name>
Example 2: create new branch git
$ git checkout -b [name_of_your_new_branch]
Example 3: create branch from existing branch
$ git checkout -b myFeature dev
Example 4: git command to create a branch from another branch
$ git checkout -b myfeature dev
Example 5: git new branch create
git checkout -b <new-branch>