git-refactor: 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

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

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