Problems with Git Push

I am having problems on the intro to github part of the alpha course. I am getting the error:

Authentication failed for'```

I believe that the error is coming from the that my username should be before the @ sign in the url, but am not sure how to fix this.

EDIT: Solved by changing the remote url using:
`git remote set-url origin https://schan1031@....`