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 https://@bitbucket.org/appacademy-online/a6a4ef6b-schan1031-ruby-project.git/'```

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@....`