Here is the problem I run into.
First of all, I'm working on several different projects. I've got two different github accounts, and after setting up one of them and successfully pushing a repo to it, I needed to commit/push the other repo to the second account which got me to the exact problem.
How do I switch between these two accounts using https way and not ssh?
P.S: I'm on Mac.
I've tried to change git config global/local user names and emails, but it didn't work out. I keep getting the same error which is:
" remote: Permission to name/repo.git denied to User. fatal: unable to access 'repos address' : The requested URL returned error: 403".