WEB HOSTING SUPPORT NETWORK
     
 

Git

The Git section of the Control Panel allows you to create Git repositories on your hosting account. It also allows you to install the GitList software that can be used to browse Git repositories, view files under different revisions, commit history and diffs via a web browser. GitList is free and open-source software written in PHP.

Installing GitList

To install GitList, you need to select the subdomain and the path to the directory where you wish to install it. You also need to specify the path to the Git repositories you wish to browse. If you have created any Git repositories using the hosting Control Panel, they will be in the account's /private/git.repostorage directory.

The installation directory will be automatically password protected with a username and a randomly generated password. You can later change the authorized users using the Protection > Web access protection section of the hosting Control Panel.

GitList does not work properly with PHP 5.3 and 5.6, so you need PHP 7.4 or upper in order to use this piece of software.

Creating a Git repository

To create a Git repository on your account, you need to choose the subdomain and the web access path. They determine the HTTP address you will be using to access the Git repository remotely from another server or from your local computer.

All repositories will be stored in the /private/git.repostorage directory on your hosting account. You need to choose the name and description of the repository you are creating. A directory with the name of the repository will be created, for example /private/git.repostorage/name_of_repository.

The web address of the repository will be automatically password protected with а username and a randomly generated password. You can later change the authorized users using the Protection > Web access protection section of the hosting Control Panel.