Using GIT with cpanel shared hosting

Using GIT with cpanel shared hosting

GIT is installed by default in cPanel servers and users with shell access can run it direct from their shared hosting accounts using:

/usr/local/cpanel/3rdparty/bin/git

You may also add /usr/local/cpanel/3rdparty to your PATH in .bash_profile file to be able to call git by typing git only

PATH=$PATH:$HOME/bin:/usr/local/cpanel/3rdparty/bin
Last update on: 2017-03-05 07:52:00