DevOps Interview DropAdvanced TierScenario+50 XP on read
Someone force-pushed a branch and deleted important commits. How do you recover them?
Core Summary
The commits almost certainly still exist, they just have nothing pointing at them anymore. Find the old SHA from any clone, CI workspace, PR page or provider event log, then create a branch on it. Act the same day, because garbage collection is the real deadline.
Hints
Hint 1: Deleted commits are unreferenced, not erased
Hint 2: Any clone that fetched before the push still has them
Hint 3: CI logs record the SHA they built
Reported in interviews at GitHub, Atlassian