cut a branch in git code example
Example 1: git create new branch
// create and checkout new branch in one line
git checkout -b new_branch
Example 2: how to create branch in github using git bash
$ git checkout -b [name_of_your_new_branch]
// create and checkout new branch in one line
git checkout -b new_branch
$ git checkout -b [name_of_your_new_branch]