I have made one commit to my local machine, but when I'm trying to push the commit to main branch, I'm facing the below error.
git push origin main
remote: Permission to ragnarok/encode-project.git denied to Bhavishyag2.
fatal: unable to access 'https://github.com/ragnarok/encode-project.git/': The requested URL returned error: 403
When I do the above with SSH remote, it gives a different error:
encode-project>git push origin main
ERROR: Permission to ragnarok/encode-project.git denied to Bhavishyag2.
fatal: Could not read from remote repository.
If anyone could help?