git new branch og jeg code example
Example 1: create and go to branch
git checkout -b <branch_name>
Example 2: create a branch command
$ git checkout -b [name_of_your_new_branch]
git checkout -b <branch_name>
$ git checkout -b [name_of_your_new_branch]