Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
1. Follow this link https://github.com/settings/tokens 2. Personal access tokens -> generate token -> fill out form and generate token In Command Line: 3. git remote set-url origin https://<Username>:<token>@github.com/<Username>/<YourRepo>.git 4. git push origin master