checkout new branch github code example
Example 1: create a branch command
$ git checkout -b [name_of_your_new_branch]
Example 2: create a branch command
$ git branch -d [name_of_your_new_branch]
$ git checkout -b [name_of_your_new_branch]
$ git branch -d [name_of_your_new_branch]