Based on the git documentation, if I want to save my changes to a new branch the standard produce is
1) git branch new_branch (assuming the branch hasn't been created)
2) git checkout new_branch
3) write new code
4) commit, and it automatically gets put in the new branch
But what if I did things in this order
1) write new code
2) git branch new_branch
3) ???
How do I now save that new code to the new branch?