Creating a repository
- Log in to cPanel.
- In the Files section, click Git Version Control.
- Click Create.
- Either:
- Clone an existing repository: enable Clone, paste the clone URL (e.g. from GitHub), and set the repository path, or
- Create a new empty repository: disable Clone and set the path and name.
- Click Create.
Pushing to your cPanel repository
Your repository’s clone URL uses SSH:SSH access must be enabled on your account for git-over-SSH to work. Your SSH port and credentials are the same as for shell access — see SSH overview.
Deploying on push
cPanel supports push-to-deploy with a .cpanel.yml file in the repository root:Managing repositories
From Git Version Control you can:- View the repository’s clone URL and current branch
- Pull changes from a linked remote
- Deploy manually
- Remove repositories (files remain on disk unless you delete them)