git-show
Show various types of Git objects (commits, tags, etc.). tldr-pages
On several platforms
Several platforms
Show information about the latest commit (hash, message, changes, and other metadata)
git showIdentifyShow information about a specific commit, tag, or branch (such as HEAD for the latest commit)
git show commitIdentifyShow only the list of added, renamed, or deleted files
git show --summary commitIdentifyIgnore whitespace when comparing lines
git show --ignore-all-spaceIdentifyShow a commit's message in a single line, suppressing the diff output
git show --oneline --no-patch commitIdentifyShow diff statistics for changed files (such as lines added and removed)
git show --stat commitIdentifyShow a simplified list of all files changed in a commit (modified, added, and deleted)
git show --name-only commitIdentifyShow the contents of a file as it was at a given revision (e.g. branch, tag, or commit)
git show revision:path/to/fileIdentify