Error when push commits with Github: fatal: could not read Username

What I had to do was:

git remote rm origin
git remote add origin '[email protected]:username/repo.git'

Then, I was able to push my changes.

Leave a Comment