I have cloned a friends git repo using the url by
git clone https://github.com/user/repo_name.git
I then created my branch, committed and attempted to push my code to a new branch, by
git push --set-upstream origin my_branch_name
However, I get the following message after entering my username and password correctly (I checked)
remote: Permission to user/reo_name.git denied to my_git. fatal: unable to access 'https://github.com/user/repo_name.git/': The requested URL returned error: 403
I'm new to git so I have no clue what I've done wrong/need to do