Restore what a force-push replaced
When a push replaces a branch or someone deletes one, OwnGit keeps the old commits in kept history. Open the repository in the browser, review every change a restore would make, then restore the whole tree or only the files you choose. A push from a coding agent is restored the same way.
Kept history is not a backup. It also keeps anything pushed by mistake, such as a secret, so replace a leaked secret instead of trying to remove it with a force-push.