Two-factor authentication for Github involves an authentication code delivered to your cell phone that's generated by an application on your smartphone or sent as a text message (SMS). After 2FA is enabled, GitHub generates an authentication code that is sent to your phone any time someone attempts to sign into your GitHub account. The only way someone can sign into your account is if they know both your password and have access to the authentication code on your phone. This tutorial focuses on the SMS method.
1. In the top right corner of any page, click the Settings icon.
3. In the user settings sidebar, click “Security.”
4. Under Two-Factor Authentication, click “Set up two-factor authentication.”
5. On the Two-Factor Authentication page, click “Set up using SMS.”
6. Select your country code and type your mobile phone number, including area code. When your information is correct, click “Send code.”
6. You’ll receive a text message with a security code. Type the code on the 2FA page, and click “Enable.”
For more information visit: https://help.github.com/articles/about-two-factor-authentication.
All trademarks are property of their respective owners. This site makes every reasonable effort to keep the information accurate and up-to-date. If you have feedback regarding the instructions above, please email firstname.lastname@example.org.