I have got a Github organisation managed by my github account. All my repositories have been working well. When I create a new repository I set it as private and add my Github account as Collaborator. Suddenly all my repositories on all computers stopped "working". Everytime I want to pull or push a repository i get this error:
enter code hereremote: Repository not found.
fatal: repository 'https://github.com/Organisation/Repository.git/' not found
git remote add origin https://CopiedLinkToPrivateRepo
git add .
git commit -m 'my message'
git push origin master
Thanks to CodeWizard.
For all searching people, there seem to be two solutions.
git remote set-url https://USERNAME@github.com/usernameOrOrganisation/repository.git. The Github website sometimes does not seem to provide the links with the username in it.