This questions is similar to: How do I see the commit differences between branches in git?
but I would like to see the diff for each commit separately, allowing me to find problems in a commit and modifying the commit with rebase -i before uploading to github.