create git new branch from current branch code example
Example 1: create new branch git
$ git checkout -b [name_of_your_new_branch]
Example 2: git create new branch
// create and checkout new branch
git checkout -b new_branch
$ git checkout -b [name_of_your_new_branch]
// create and checkout new branch
git checkout -b new_branch