2FA issue after locked out in Mac Terminal

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

Help, please!

I just just up 2FA, and I’ve followed the steps on the help pages, but I’m still unable to push to repos, even after re-cloning them.

Solved with this:

https://docs.github.com/en/get-started/getting-started-with-git/updating-credentials-from-the-macos-keychain