In version 72 and later, cPanel offers Git integration through the web interface.
You have always been able to use Git with your cPanel account from the command line, but in version 72, cPanel introduced a web-based integration with Git that gives you another option.
When connecting to your cPanel-hosted git repo from your local machine, you will need to configure your local machine to use your ssh key with git. If you are using a graphical git client or file manager extension, review the documentation for your software. One example for using your cPanel-hosted repo from a linux command line on your local machine is below. There are many other ways to do this, so feel free to use whatever method works best for you.
If the file does not exist, create it
enter the following lines into the file, replacing "cpanelaccountname" with the actual name of your cpanel account and "sshprivatekeyname" with the name of your private ssh key (id_rsa by default)
From your local machine, run