create a checkout branch code example
Example 1: git create branch
$ git checkout -b [name_of_your_new_branch]
Example 2: git command to create a branch from another branch
$ git checkout -b myfeature dev
$ git checkout -b [name_of_your_new_branch]
$ git checkout -b myfeature dev