I have been using Source Tree for a few years now along with GitHub in 2FA mode. Recently however, GitHub is constantly challenging me to login. When it does, I get a "GitHub Login" window that requests my user/password. Of course, nothing I enter will work because I'm using 2FA.
To fix it, I have to go to GitHub.com, regenerate my personal access token, then in Tools/Options/Authentication, I edit my github account and click "refresh", then enter that token as the password.
By the way, the window in the authentication page shows a green checkmark saying "Authentication OK." It's set to Basic.
Anyone know of a better way? I'm about to switch to using GitHub's native app because of the annoyance of having to do this every few hours.