How to recover “lost” commits using git reflog
by Aldo Giambelluca (Software Development Profession)
I’ve been using Git for a long time and I haven’t messed up in awhile now — that probably means I haven’t learned anything new — someone also called me a Git-ninja once…