How to install git on Linux Web Hosting

Git is a free and open source distributed version control system designed to increase efficiency and improve team workflows.

DIFFICULTY Basic - 1 | Medium - 2 | Advanced - 3
TIME REQUIRED 15-30+ min

This article will show you how to install git on Shared Web Hosting

Install Git

First, you need to log in to your Web Hosting account via SSH. See this help article for questions on using SSH.

Navigate to your home directory, and download the proper RPM. In this example we will be using git

From your home directory, run the following command:


Then, unpack the tar file:

tar -zxf git-

And cd into the newly created git- directory

cd git-

Make sure that it is installed:

~/opt/usr/bin/git --version
git version

Get git on your path and tell Git not to do SSL verification. If you haven't already, create a ~/.bash_profile file and add the following to it:

export GIT_SSL_NO_VERIFY=true
export PATH

Make sure these settings are working correctly by running the following command:

source ~/.bash_profile

Check the version

git --version
git version

There you have it, git is now installed on your Web Hosting Account.

Czy ten artykuł był pomocny?
Thanks for your feedback. To speak with a customer service representative, please use the support phone number or chat option above.
Cieszymy się, że udało się nam pomóc! Czy coś jeszcze możemy dla Ciebie zrobić?
Przykro nam z tego powodu. Tell us what was confusing or why the solution didn’t solve your problem.