I was added as a member to a private repo. I visited the repo page and copied the git repo address: https://github.com/xxxxxxx/xxxxxxxx.git
I then entered the following into the terminal:
git clone https://github.com/xxxxxxx/xxxxxxxx.git
I edited some files and created a new local branch:
git checkout -b new_branch
I then added the changes, and committed them:
git add -A
git commit -m 'Commit message here'
Next, I tried to push the changes to the repo in order to create a new remote branch:
git push -u origin new_branch
I also tried:
git push origin new_branch
Both failed to push the changes and displayed the following error message:
remote: Repository not found.
fatal: repository 'https://github.com/xxxxxxx/xxxxxxxx.git/' not found
I found this page on Github(https://help.github.com/articles/error-repository-not-found/) which addresses the error message I am seeing, but the repo is spelled correctly, I am a member of the team that has access to it(I cloned it in the first place), and I am not using SSH, so none of those apply to me.
Any ideas why I am not able to create a remote Github branch based on my local branch?