Setting up a a git repository in cPanel
cPanel has a user interface for creating and cloning git repositories into your cPanel account quickly and easily.
Creating your own repository
- Log in to cPanel.
- Click on Git Version Control under Files.
- Click Create.
- Turn Clone a Repository off.
- Input the path you want to set for your new repository in the Repository Path field.
- Create a name for your repository in the Repository Name field.
- Click Create.
Cloning a repository
- Log in to cPanel.
- Click on Git Version Control under Files.
- Click Create.
- Input the URL for the remote git repository you want to clone, in the Clone URL field (e.g WordPress clone URL: https://github.com/WordPress/WordPress)
- Input the path you want to set for your new repository in the Repository Path field.
- Create a name for your repository in the Repository Name field.
- Click Create.