I'm setting up a new git repository for a coding challenge that was sent to me by a prospective employer. I'm using a new computer (Mac OSX); however, when I try to push my existing repository from the command line using HTTPS, I get an error message saying:
remote: Permission to afriedman1991/PS_Change_Log_Notifier.git denied to scratchbenchmark.
fatal: unable to access 'https://github.com/afriedman1991/PS_Change_Log_Notifier.git/': The requested URL returned error: 403
Benchmark was the company I used to work for, who used SSH to manage their project. For some reason, git thinks I'm still trying to push to their repository, even though my origin is set to:
origin https://github.com/afriedman1991/PS_Change_Log_Notifier.git (fetch)
origin https://github.com/afriedman1991/PS_Change_Log_Notifier.git (push)
I've been trying to figure out how to fix this for a while now, but can't seem to find any solutions that work. Can anyone help?