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:
- Log in to your cPanel account with your username and password.
- In the Files section, click on Git Version Control.
- Click the Create button to add a new repository.
- Check the box for Clone on create (this downloads the files immediately).
- Paste the Clone URL of your remote repository (HTTPS or SSH link from GitHub/Bitbucket/GitLab).
- 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).
- Enter a Repository Name of your choice (this is just for display inside cPanel).
- 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.