GitHub has posted a plan to disable password authentication when accessing Git

Determined when support for connecting to Git objects in GitHub using password authentication. Starting August 13, 2021, direct execution of operations with Git requiring authentication will only be possible using SSH keys or tokens (personal GitHub tokens or OAuth). An exception will be granted to accounts using two-factor authentication that connect to Git with a password and extra key.

Users using password authentication for Git will be sent a recommendation emails update the authentication method. To stimulate the transition to the use of tokens, on June 30 and July 28, trial password access will be disabled for several hours.

It is assumed that the tightening of authentication requirements will protect users from compromising their repositories in the event of a user base leak or hacking third-party services where users used the same passwords from GitHub. Among the advantages of token authentication is the ability to generate separate tokens for specific devices and sessions, support for revoking compromised tokens without changing credentials, the ability to restrict access through a token, non-brute force detection of tokens.

/Release. View in full here.