github create new branch from command line code example
Example 1: create new branch git
$ git checkout -b [name_of_your_new_branch]
Example 2: git create and checkout branch
$ git checkout -b <branch_name>
$ git checkout -b [name_of_your_new_branch]
$ git checkout -b <branch_name>