Git is a version control system that tracks file changes that multiple users can edit simultaneously. This is essential when collaborating with multiple developers on a project, allowing easy updating, tracking, management and control.
Here are some essential concepts to understand
Do not delete the .git file, this is required to use Git
1. Login to cPanel.2. Navigate to the files section.
3. Click git version control, here you can see any repos in your cpanel account.
4. Click Create, this will create a repo.
5. From here, you have two choices:
5.1. You can untick clone a repository and create a new repository.
5.2. Or, you can choose to clone a repo i.e. (from GitHub) this means you create a copy of a repo you own. To do this enter a clone for the repo from GitHub or GitLab.
6. Enter your desired path for the repository.
7. Enter a repository name.
If you want to create multiple repositories tick the create another repository checkbox.
8. Click Create, if cloning a large repository this might take some time.
Manage
You can click manage on a repository to update its settings.
History
History lets you view the repo’s history and files
Remove
Remove lets you remove the repo from under the cPanel Version control tool, this will not remove the files
Drop down arrow
Clicking the drop-down arrow lets you view more details about the repository, visit the directory it’s stored in on your account and has a clone URL.