Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Please note that DO NOT INSTALL GIT ON WHM SERVER as its already installed in it.
The problem is that the git is not in the default path and we could not use it normaly.
So we need ￼to make git available to all users on the system.
To make git usable to all users (with ssh access), execute the below command as root.
ln -s /usr/local/cpanel/3rdparty/bin/git /usr/local/bin/git
git will be available for all users now.