git-upload-pack: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/git-upload-pack - from package: git

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/git-upload-pack - from package: git

You may install the required package with command apt-get install {package}
Error in other languages:
git-upload-pack: bevel nie gevind nie
git-upload-pack: comandă negăsită
git-upload-pack: comando não encontrado
git-upload-pack: commande introuvable
git-upload-pack: command not found
git-upload-pack: käsku ei ole
git-upload-pack: không tìm thấy lệnh
git-upload-pack: komanda nerasta
git-upload-pack: Kommando nicht gefunden.
git-upload-pack: kommandot finns inte
git-upload-pack: komut yok
git-upload-pack: nie znaleziono polecenia
git-upload-pack: níor aimsíodh an t-ordú
git-upload-pack: no se encontró la orden
git-upload-pack: no s'ha trobat l'ordre
git-upload-pack: opdracht niet gevonden
git-upload-pack: parancs nem található
git-upload-pack: perintah tidak ditemukan
git-upload-pack: príkaz nenájdený
git-upload-pack: příkaz nenalezen
git-upload-pack: команда не найдена
git-upload-pack: командата не е открита
git-upload-pack: 命令找不到
git-upload-pack: コマンドが見つかりません