# git reflog
> Show when the reference logs were updated in local repository.
> More information: <https://git-scm.com/docs/git-reflog>.
- View reflog:
`git reflog`
- View 5 latest entries in reflog:
`git reflog -n {{5}}`