Detecting force pushes Reflog events git reflog Reflog of specific branch git reflog origin/main Checking for dangling objects git fsck --full