There may be several reasons behind this error. One the reason may be if you don't have git installed where you have jenkins server. To avoid this you can use the below given command.
$ yum install git
Another reason may be if you didn't configure the path of git in jenkins. To set git path you can follow the below steps.
Hope this will solve your problem.