How to use Git on cPanel via SSH Print

  • 0

You can directly pull your code from GitHub, Bitbucket, or GitLab into your cPanel hosting account using the built-in Git Version Control feature. Here’s the complete process:

  1. Log in to your cPanel account with your username and password.
  2. In the Files section, click on Git Version Control.
  3. Click the Create button to add a new repository.
  4. Check the box for Clone on create (this downloads the files immediately).
  5. Paste the Clone URL of your remote repository (HTTPS or SSH link from GitHub/Bitbucket/GitLab).
  6. Set the Repository Path – this is the exact folder on the server where the files will be placed (e.g., /home/username/public_html or /home/username/public_html/myapp).
  7. Enter a Repository Name of your choice (this is just for display inside cPanel).
  8. Click Create.
    The repository will be cloned instantly into the folder you specified.

NOTE: The Git Version Control tool only appears and works if SSH access is enabled on your account. If you don’t see it, please email support@whogohost.com and request that SSH access be activated.

For projects that require persistent SSH access or advanced Git workflows, you may also consider using a hosting plan that supports full SSH access, such as Web Hosting or VPS Hosting.


Was this answer helpful?

« Back