As far as I know there is no way to bypass 2FA on GitHub (with the possible exception of deleting all your repositories, but I don't know if they'd let you turn it off at that point).
I stopped using Twitch when they started forcing 2FA. I didn't really care about my account. I only created it so that I would have a list of the streamers I follow on the left side. But logging in with 2FA was too much work just to be able to see the list, so I stopped using Twitch altogether.
Another use case is to disable Github 2FA so that I can enable 2FA on my email account:
I store my (encrypted) KeePassXC database on Github, but on a new computer I need to log into my email to be able to 2FA into Github, so I have to disable email 2FA because I store the TOTP codes on the KeePassXC database.
If Github didn't have 2FA, I would just login with my password, download the KeePassXC db, decrypt it, and be able to generate TOTP codes for my email.
Why not signup for a cloud storage provider, and store the encrypted password there? Then shorten the link and printout both versions for you to use (the longer is if the shortened version no longer work).
If you don't need more security on top of your existing (presumably high entropy) password, the latter problem might be solved by publishing the totp key. The GitHub bio box is public, mostly pointless and a sensible size...
The former might be solved with a bookmarklet that embeds the key and fills out the relevant form automatically. If you're going to publish the key, presumably publishing this in as convenient a form as possible also makes sense.
And that is coming back to bite everyone in the ass:
https://arstechnica.com/security/2024/05/0-click-gitlab-hija...
The idea came from https://www.raycast.com/cjdenio/two-factor-authentication-co... which is another "almost as fast" way to do the same.
2) Security <> Convenience
I invest with a couple of different brokers. Some require only username+password. Some have the extra SMS/2FA. There is one where I get an automated phone-call and I have to answer, and type the digits shown on the screen. Every 1st of the month I do 'the rounds' in every account I have (bank, broker, cash) and write down on a spreadsheet my 'net worth' so I can track progress, forecast, see with a nice line how much up or down it goes, etc. (friendly suggestion - all people should be doing that); so it amuses me to see so many different authentication mechanisms across the Finance world.