GitHub Authentication Update

Hongtao Hao / 2021-08-03

When I was updating my blog using Git, I was sent an email from GitHub:

Basic authentication using a password to Git is deprecated and will soon no longer work. Visit for more information around suggested workarounds and removal dates.

To solve this issue, go to as suggested. At What you need to do today , you will see that using a personal access token is recommended.

Read this official documentation to create a personal access token. Remember to save your token carefully!

If you are using a Mac, then you probably need to update credentials from the Keychain Access to replace the old passwords with the newly created access token.

Follow the procedure mentioned in the above documentation. When searching for in Keychain Access, you will see two results. One is, and the other is Delete the first one.

Then, use Git in Terminal and you will be prompted to enter your GitHub username and passwords. For the passwords, use the access token you just created.

Last modified on 2021-10-05