This lets you get the “parent” commit. git checkout <HASH>^ git checkout <HASH>~1 See where you’re at git log --oneline -5