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

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