SiteGround Git Tool Tutorial
How to Create a New GIT Repository

How to Create a New GIT Repository

This tutorial explains how to create a new Git repository of your website application by using the Git Tool in Site Tools.

Access Git in Site Tools

First, go to your Site Tools > Devs > Git:

The Git Tool has two main sections. The first section gives you the option to create a new repository and in the second are the already created ones.

Create a repository of an application

To create a new GIT repository for your website, select your application from the drop-down menu and click on Create.

The system will create the repository on the server. Note that the system will need some time to create the GIT repository and you may need to wait up to 5-10 minutes depending on the size of your website.

Important! The system will not allow you to create new GIT repositories if you’re using more than 80% of your disk space or your inode quota.

Once the new repository is created you can check the SSH connection details from the kebab menu next to the application > Git Info. Note that if you already have an SSH key generated for your account, the tool will not make a new one. You can use your existing keys.

Make sure to write down or remember the password for your key. Due to security reasons, you won’t be able to see it after you create the SSH keys. If you forget the password for your key you’ll have to create a new key from the Devs > SSH Keys Manager in your Site Tools.

Share This Article