git-archive-file: 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 Debian possible default full paths are:

/usr/bin/git-archive-file - from package: git-extras

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