1. Cause:
GitHub requires two-factor authentication (2FA) as an extra layer of protection when logging into a website or app. When you enable 2FA, you must log in with your username and password and provide another form of authentication that only you know or have access to.
2. Solution:
2.1 Use chrome’s authentication plug-in to scan here. The address is as follows:
https://chrome.google.com/webstore/detail/authenticator/bhghoamapcdpbohphigoooaddinpkbai?utm_source=ext_app_menu
After adding the extension, the authentication icon will be displayed as follows:
Clicking Pin will display it here: