Github: Can’t push to a remote repository on my Github

Since August 13, 2021, we can’t push to a remote Github repository by using username and password

cant push to a remote repository

tutorialspots@tutorialspots MINGW64 /d/AppServ/www/phpMoAdmin-MongoDB-Admin-Tool-for-PHP (master)
$ git push
Username for '': sansamour
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see for more information.
fatal: Authentication failed for ''

You must use Github CLI to login your account first: Login Github with Github CLI on Windows

Leave a Reply