Guides

How to Enable Two-Factor Authentication for GitHub

How to Enable Two-Factor Authentication for GitHub

To enhance the security of your GitHub account, enabling Two-Factor Authentication (2FA) is a must. This guide will walk you through the process of setting up 2FA using the Authenticator App.

Step By Step Guide

1

STEP 01

Download and Install Authenticator App

Download and Install Authenticator App

For iOS: Visit the App Store and search for "Authenticator App" Download and install the app.

For Android: Head to the Google Play Store, search for "Authenticator App" and install it.

Download App

Download App

2

STEP 02

Log in to your GitHub account

Log in to your GitHub account

Go to github.com and sign in using your username or email address.

3

STEP 03

Locate Settings

Locate Settings

n the upper-right corner of the screen, click your profile photo, then click "Settings."

4

STEP 04

Go to Password and Authentication

Go to Password and Authentication

In the "Access" section of the sidebar, click "Password and authentication."

5

STEP 05

Enable 2FA

Enable 2FA

Under "Two-factor authentication," click "Enable two-factor authentication." Two-factor authentication adds an additional layer of security.

6

STEP 06

Scan QR Code

Scan QR Code

Use your authenticator app to scan the QR code displayed. After scanning, the app will generate a six-digit code to enter on GitHub. If you can't scan the QR code, click "Enter this Text Code" to input the code manually in your authenticator app.

7

STEP 07

Save Your Recovery Codes

Save Your Recovery Codes

click "Download" to save your recovery codes to a secure location. These codes help you regain access to your account if needed.

8

STEP 08

You're All Set!

You're All Set!

After saving your recovery codes, click "I have saved my recovery codes" to enable 2FA for your account.

9

STEP 09

Sign Out from Your Account

Sign Out from Your Account

After enabling 2FA, sign out and back into your account. In case of issues like a forgotten password, use your recovery codes for access.

Still Have Questions?

If you didn’t find what you were looking for, chat with ourhelpful team—we’re happy to answer your questions!

Get in touch

Still Have Questions?

If you didn’t find what you were looking for, chat with ourhelpful team—we’re happy to answer your questions!

Get in touch

Still Have Questions?

If you didn’t find what you were looking for, chat with ourhelpful team—we’re happy to answer your questions!

Get in touch