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

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