https://www.bemyaficionado.com/git-reflog/
How to Fix A Blunder and Get Squashed Commits Back (Git Undo)