git add in a branch code example Example: how to make a new branch git $ git checkout -b [name_of_your_new_branch]