First- We need to install Git on our VM "sudo yum install git"
Second- Check is it install or not "git -v"
Third- Check the installed Path "which git"
Fourth- Add Path "Manage Jenkins -> global tool configuration -> Git -> Git Installations -> Path to Git executable."
Fifth- Save and restart http://xyz:8180/restart