Reflog and Recovery

🔍 What you'll learn: Accidentally lost commits after a reset or rebase? Git's reflog is your safety net. This demo shows how to recover work that seems permanently deleted—your "undo" for almost any Git mistake.

1
Normal History

You have a simple history with three commits. Both `HEAD` and the `main` branch point to the latest commit, `c3d4`.

a1b2
b2c3
c3d4
main
HEAD
Key Point: This is your "official" project history. `git log` would show you these three commits.