You can securely access your account's resources by authenticating to GitHub, using different credentials depending on where you authenticate.| GitHub Docs
Two-factor authentication (2FA) is an extra layer of security used when logging into websites or apps. With 2FA, you have to log in with your username and password and provide another form of authentication that only you know or have access to.| GitHub Docs