git branchce code example Example 1: how to make a new branch git $ git checkout -b [name_of_your_new_branch] Example 2: create a branch command $ git branch -a