Command
git cat-file
Explanation
git cat-file is used to provide content or type and size information for repository objects. It provides the content or type and size information for the repository objects.
Examples
Show object type
git cat-file -t abc123
Pretty-print object contents
git cat-file -p abc123