link
git/reflog

Reference Log

Record when the tips of branches were updated

git
reflog
history

Command

git reflog

Examples

Show reference log

git reflog

Show log for specific branch

git reflog show main