Mid Version Control Identify the commit before the force push.? Create a branch to restore it: git checkout -b recovery-branch <commit-hash>