@sirhc Yes! git reflog is love! ❤️
Another useful workflow:
Sometimes you just want to have the exact same version of a particular remote branch locally (e.g. because the local branch is totally messed up for whatever reason). In that case, one can do:
git fetch origin
git reset --hard origin/main
...given that remote is called origin and current local branch is main (tracking origin/main).
