git-upload-archive: 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-archive - 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-archive - from package: git

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