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