After GitHub configures SSH git push, an error is reported:
remote: fatal error in commit_refs
There are almost no solutions found online. After my own exploration, I finally found a solution.
The solution: very brutal.
1. Enter the git warehouse and execute
rm -rf .git
2.
rm -rf ~/.ssh
3.
ssh-add -D
4. Reinstall git (optional)
5. Reconfigure SSH login, that's it.