git new branch based on current code example Example: create new branch git $ git checkout -b [name_of_your_new_branch]