Enabling TFA Its considered best practice now a days to enable two-factor authntication for your bank accounts, AWS accounts, and now your Github repositories as well.
Two-Factor authentication gives your accounts extra security by enforcing two secret pieces of information: your password and a temporary code that rotates every few minutes.
Enabling two-factor authentication is as simple as updating your Github profile: Settings > Security.
Github Two Factor Authentication
I use Google’s Authenticator app to generate keys for me: Google Authenticator