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

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

On Debian possible default full paths are:

/usr/bin/git-shell - from package: git

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