How to enable 2FA for GitHub
Want to follow this guide on your phone?
The best way to manage all your 2FA accounts is to use the Authy app. It enables you to have a single mobile app for all your 2FA accounts and you can sync them across multiple devices, even accessing them on the desktop. Install Authy on your device by searching for it in your device’s app store. Read more information on the features of Authy here.
Locate 2FA setting
Login to your GitHub account open the menu from the top right icon that shows your account image. Select “Your Profile”.
Click on the “Edit Profile” button from the resulting page. There are two buttons you can use, choose either.
Finally select the “Security” option from the menu on the left under “Personal Settings”.
You might need to re-enter your password.
Capture QR code
Click on the “Set up two-factor authentication” button top right, and select the “Set up using an app” option.
Then scan the QR code with Authy.
Once the token is in Authy, type the resulting 2FA code back into GitHub and click on Continue.
Finally, make a record of the recovery codes. Although if you use the Backup feature in Authy, this step isn’t important.
After clicking on the “Enable two-factor authentication” button, you are all set!
Head to GitHub for more information on their two-factor authentication security.