I'm trying to set up Visual Studio 2013 to work with a private repository on Github. I get the following error when I try to clone it, or if I clone with Github for Windows and try to push/pull from Visual Studio:
An error occurred. Detailed message: An error was raised by libgit2. Category = Net (Error). Response status code does not indicate success: 404 (Not Found).
It works correctly with public repositories, but not with a private one. It also works from the Github for windows client.
I had the same problem. I had logged in with personal credentials, now I was trying on my office credentials.
I fixed it by removing the credentials GitHub saves in your local machine.
Here are the steps I took:
I had this happen to me in VS 2013 as well. I solved it by removing the project and re-cloning it from within VS. It's strange though, it was only happening on one of the multiple private repos I'm working with.
I will not advise anyone else to do this. But luckily I was in the earlier stages of development. Therefore I had to delete the repository on Github site. The problem started after I tried to revert one of the changes. Github is more of a drag than a utility. I am a lone developer in my organization and doesn't make sense to me to be dealing with these problems. Simple local Git should have been enough.