# git cat-file

say it: **“GIT KAT FYLE”** **/ɡɪt ˈkæt ˈfaɪl/**

Displays object types, sizes, or contents directly from the object database.

## What does **git cat-file** do?

**git cat-file** — Displays object types, sizes, or contents directly from the object database.

```bash
git cat-file -t HEAD
```

Level: Master · [More Git terms at this level](https://www.ask-codey.com/glossary?category=git&level=5)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/git-cat-file
