Show various types of git objects (commits, tags, etc.).

# To show information about the latest commit (hash, message, changes, and other metadata):
git show

# To show information about a given commit:
git show <commit>

# To show information about the commit associated with a given tag:
git show <tag>

# To show information about the 3rd commit from the tip of a branch:
git show <branch>~<3>

# To show a commit's message in a single line, suppressing the diff output:
git show --oneline -s <commit>

# To show only the list of the files changed in a commit:
git show --stat <commit>

# To show the contents of a file as it was at a given revision (e.g. branch, tag or commit):
git show <revision>:<path/to/file>