GitHub is forcing 2FA now as well. 🙄
Discussion
The issue is not 2FA, but the SMS as a second factor. There are ways around it though.
the founder of GitHub had his account banned with the stroke of irony
https://www.nasdaq.com/articles/ai-wants-you-to-know-who-is-boss:-github-automod-bans-its-own-maker#
Doesn't need to be SMS though so its OK.
You can do that with Yubikey or TOTP. It saved me from the IG hack that exposed the passwords from the backend.