generate-patches.pl: 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/generate-patches.pl - from package: tito

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