git checkout new branch for a commit code example
Example: git checkout new branch
// create and checkout new branch in one line
git checkout -b new_branch
// create and checkout new branch in one line
git checkout -b new_branch