gitosis-init: 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/gitosis-init - from package: gitosis

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