cPanel → Files → Git Version Control → Create → specify the repository URL and deployment path.
⚠️ Never place the .git folder in public_html without protection!
cPanel → Files → Git Version Control → Create → specify the repository URL and deployment path.