El soporte para la autenticación de contraseña se eliminó el 13 de agosto de 2021. Utilice un token de acceso personal.
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
Disgusted Donkey