Command
git reflog
Explanation
git reflog is used to record when the tips of branches were updated. It records the tips of branches that were updated.
Examples
Show reference log
git reflog
Show log for specific branch
git reflog show main
git reflog
git reflog is used to record when the tips of branches were updated. It records the tips of branches that were updated.
Show reference log
git reflog
Show log for specific branch
git reflog show main