# git reflog

say it: **“GIT REF-log”** **/ɡɪt ˈrɛfˌlɔɡ/**

Shows recent updates to local references, including earlier positions of HEAD and branches.

## What does **git reflog** do?

**git reflog** — Shows recent updates to local references, including earlier positions of HEAD and branches.

```bash
git reflog --oneline
```

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

Updated: November 17, 2026

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