All help is appreciated as it has been 3 hours and I am still unable to have a clear connection to my github account.
Error:
fatal: unable to access 'https://github.com/username/location.git/': The requested URL returned error: 403
How to get this error:
git push origin master
Steps taken to fix this error:
- Updated my git using brew
- Follow Git documentation to use SSH in order to create connection
- Used
sh -T git@github.com
to make sure the connection exist. It does.
I understand password has been deprecated when using the command line but I also don't understand why it is still being requested whenever I try to use git push origin master
I also understand 403 means you don't have rights. So I did logout and log back in to my github to make sure I have the correct password being used (even though it is deprecated)
All help is really helpful with this matter.
Thank you.