Skip to content

Git Recovery Runbook

Incident

Describe what happened.

Initial state

Describe the current branch, HEAD, and working-tree status.

Investigation

Commands used:

  • git status
  • git reflog
  • git log --oneline --graph --all

Recovery

Describe the recovery procedure.

Verification

Explain how you confirmed that the files and commits were recovered.

Result

Document the final state.

Lessons learned

What should the developer do differently next time?