Update git.md

Add "How to commit to the last commit" section.