git reflog

Show a log of changes to local references like HEAD, branches or tags. More information: https://git-scm.com/docs/git-reflog.

git reflog

git reflog {{branch_name}}

git reflog {{-n|--max-count}} 5