Git Version Control is now available in your cPanel. This means you can create and clone Git repositories right into your cPanel account. This has virtually thousands of helpful uses you can now take advantage of. It used to be a pain to create your own Git repositories, manage users, and hooks, etc. Now, a lot of that work has been done for you. Easy, right? Let's get started.

If you erase a repository after it's created, it erases the whole directory, including all the files you were working with.

How to Create a Git Repository with cPanel

Let's create a repository. Don't worry, you'll see how to "clone" an existing repository later.

  1. Log into cPanel
  2. Select Git Version Control under Files
  3. Click Create (if you haven't created any repositories yet, you'll be skipped ahead to the next step automatically)
  4. Toggle off the Clone a Repository button
  5. Fill in the file path to the new repository
  6. Provide a name for the repository as it will appear in your cPanel interface
  7. Click Create at the bottom

At this point, cPanel will go ahead and create your new repository and give you some helpful commands you can use to start using the repository right away.

How to "Clone" a Git Repository in cPanel

If you'd like to clone a repository from a site like Github or some other location on the web, all you need is the "Clone URL" and to follow these easy steps:

  1. Log into cPanel
  2. Select Git Version Control under Files
  3. Copy the clone URL into the Clone URL
  4. Fill in a file path for the repository (remember the cloned repository provides its own directory)
  5. Fill in a name for the repository as it will appear in your cPanel interface
  6. Click Create

Now you have cloned the repository into your cPanel account, and you can begin managing it right away.

Final Thoughts

Be sure to let us know if you have any trouble using these repositories or the general Git Version Control features in cPanel. We'll be happy to field any questions you may have.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.