Edited to learn about git diff and git commit.