Note
As of March 2023, GitHub required all users who contribute code on GitHub.com to enable one or more forms of two-factor authentication (2FA). If you were in an eligible group, you would have received a notification email when that group was selected for enrollment, marking the beginning of a 45-day 2FA enrollment period, and you would have seen banners asking you to enroll in 2FA on GitHub.com. If you didn't receive a notification, then you were not part of a group required to enable 2FA, though we strongly recommend it.
For more information about the 2FA enrollment rollout, see this blog post.
- About two-factor authentication
- About mandatory two-factor authentication
- Configuring two-factor authentication
- Configuring two-factor authentication recovery methods
- Accessing GitHub using two-factor authentication
- Countries where SMS authentication is supported
- Changing your two-factor authentication method
- Troubleshooting two-factor authentication issues
- Recovering your account if you lose your 2FA credentials
- Disabling two-factor authentication for your personal account