git-upload-pack not found

git, github

Solution

I just come across this issue right now, it is caused by permissions, please make sure that you current account has the permissions of `git pull` and `git push`,in your case , maybe you create a private repository in Github, and not add this account as `Manage Collaborators`, then the issue come.

Certainly you also should check if the remote URL is completely correct, include case insensitive, https or http.

Problem

I'm trying to clone an existing github-repository (Git for Windows) to an empty folder using ``` git clone https://github.com/di98jgu/D0016E---Digitalt-projekt.git ``` but keep getting the error message: fatal: https://github.com/di98jgu/D0016E---Digitalt-projekt.git/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server? The server is working fine (others are using it). Have tried adding the paths of git-upload-pack and git-receive-pack to gitconfig, ``` [remote "origin"] url = https://github.com/di98jgu/D0016E--Digital-projekt.git fetch = +refs/heads/*:refs/remotes/origin/* uploadpack = libexec/git-core/git-upload-pack receivepack = libexec/git-core/git-receive-pack ``` but it didn't help. Seems like a lot of people are having problems causing a similar, but not exactly the same, error message `git-upload-pack command not found`, but don't think these solutions apply to my situation. Anyone know how to solve this?

Original source

Related problems