Token Authentication For GitHub
Today’s goal is to setup for using token-based authentication in GitHub.
In July 2020, we announced our intent to require the use of token-based authentication (for example, a personal access, OAuth, or GitHub App installation token) for all authenticated Git operations. Beginning August 13, 2021, we will no longer accept account passwords when authenticating Git operations on GitHub.com.from “Token authentication requirements for Git operations”
Refer to “Token authentication requirements for Git operations” in the GitHub blog for more information.
You can use generated token instead of the password for GitHub in Git Bash or Git GUI.