I\'m in a team of three; two are working locally, and I am working on the server.
My coworker set up the account, but gave me full privileges to the repository.
Run
git remote -v
and check whether your origin's URL has your co-worker's username hardcoded in there. If so, substitute it with your own:
git remote set-url origin