how to create a new git branch and check into it code example
Example 1: create new branch git
$ git checkout -b [name_of_your_new_branch]
Example 2: make a new branch git
git checkout -b branch-name
$ git checkout -b [name_of_your_new_branch]
git checkout -b branch-name