When I tackle this issue I use the following command:
git reflog | awk '{ print $1 }' | xargs gitk
This lets me visualise recent commits which have become headless.
I have this wrapped up in a script helper called ~/bin/git-reflog-gitk
.
Edit: - my git-reflog-gitk wrapper is redundant - as you can now call gitk --reflog
directly