Git authentication failed

Enter the command to clear the login and password

git config --system --unset credential.helper

And then when you push
it’s going to pop up the login window again
Use the following command to configure login free

 git config  credential.helper store


Read More: