How can I show what a commit did?

Question

A stupid way I know is:

git diff commit-number1 commit-number2

Is there a better way?

I mean, I want to know the commit1 itself. I don't want to add the commit2 before it as a parameter.

Answer

git show <commit-id>

Documentation for git show

How to get rid of "would clobber existing tag"

How can I fix the Git error "object file ... is empty"?