git show

Show various types of Git objects (commits, tags, etc.). More information: https://git-scm.com/docs/git-show.

git show

git show commit

git show tag

git show branch~3

git show --oneline -s commit

git show --stat commit

git show --summary commit

git show revision:path/to/file