git displays the ids of the last 5 commits code example
Example: git how to see changes made by a commit
git show <commit sha1> # Notice that the default option is HEAD.
git show <commit sha1> # Notice that the default option is HEAD.