Error in git push

Due to the current changes in security options, I am unable to push changes to github neither from RStudio nor from terminal. I used to use password during the push. What to do now? I have TFA activated already but may be something else I am missing.

Probably you need to create and/or use your PAT (Private Access Token) instead of the password, which is no longer supported as a log-in method on GitHub (since a month or two). But you’ll probably also need to delete the old credentials which might be cached in these applications, in order to use the new ones.