How To Create Repository On Cpanel - FreeCodeBlog

Last updated: Dec 13, 2021

Cpanel git version control! Yes. You should create repository on cpanel to use git version on your website. Want to connect GitHub repositories with cpanel git version control? Yes. Then use this interface to create new repositories or clone existing remote repositories. To add an existing repository to the list of cPanel-managed repositories, select that repository path when you create the repository. The system will automatically add and configure the repository. In order to clone private repositories, advanced users should preconfigure access. Want to use GitHub private repository in cpanel Git version control? Yes. Don't worry, You can do it after reading this tutorial.


How To Create Repository On Cpanel
How To Create Repository On Cpanel


Hello guys, This is a advance lavel tutarial for web developer. If you are web developer and you want to upload your website using git version control then you need to understand about git version control. I have already made lots of tutarial about git version control. In this tutorial I will explain, how we can create GitHub repository on cpanel.


Step To Create Repository On Cpanel.

  1. Login C-panel Dashboard.
  2. Find Git Version Control.
  3. Create Repository On Cpanel.


1. Login C-panel Dashboard.

You need to login your cpanel dashboard to create repository on cpanel. You can easily login C-panel login using username and password.


2. Find Git Version Control.

You need to find Git Version Control button on cpanel files section. Now click on git version control button and next click on Create button. If you can't find Git Version Control button then contact your hosting provider.


3. Create Repository On Cpanel.

Now let's start to create repository. Remember: If you want to clone private repository (GitHub, GitLap) on cpanel then you need to create and connect SSH key on (GitHub, GitLap). Read how to create a ssh key on cpanel and how to deploy cpanel SSH key on GitHub private repository tutorial for more information.


Clone a Repository: You will see clone a repository switch option on create repository page. by default clone repository option has open on create repository page. you can off clone repository option by click on switch button. I will recommend you to open clone repository if you want to clone GitHub repository from cpanel. you can't see Clone URL option if you has been off clone a repository option.


Clone URL: You will see clone URL option when you on clone a repository option. Enter the clone URL for the remote repository. All clone URLs must begin with the http://, https://, ssh://, or git:// protocols or begin with a username and domain. you can paste here GitHub private or public repository url.


Repository Path: Enter the desired path for the repository’s directory. If you enter a path that does not exist, the system will create the directory when it creates or clones the repository. you will see repository path box like below.




You need to fill repository path like below if you want to clone your github repository on public_html folder. Make sure public_html folder has empty.




Repository Name: This name does not impact functionality, and instead functions only as a display name. You can fill repository name like “project”, “repository-name”.


Create Button: Finally you need to click on create button after fill create repository form on cpanel.


Okay so this is for today. See you again next tutorials. Thanks

Post Tags
Post Writer
Masum Biswas (@masum7323)

My name is Masum Biswas. I'm a full stack developer. I live in Bangladesh and I love to write tutorials and tools that can help to other artisan. I am a big fan of PHP, Javascript, JQuery, Laravel, MySQL, VueJS, Tailwind CSS and Bootstrap from the early stage.

Follow Me On
Related Posts
Upload Laravel Project To Shared Hosting Using Public Github Repository

Want to use GitHub public repository to upload laravel project to shared hosting cpanel? Public GitHub repository for laravel project uploading on... Read More

How To Deploy A Laravel 8 Project On Namecheap Shared Hosting Cpanel

Today I will explain you, how we can easily deploy a laravel 8 project on namecheap shared hosting cpanel. If you have a namecheap shared hosting s... Read More

How To Create A Ssh Key On Cpanel

Want to create cpanel ssh key? Yes. You can create public and private ssh key on cpanel. The public and private key are similar to a puzzle. They a... Read More

How To Check And Change Php Version On Shared Hosting Cpanel

Want to check PHP version on cpanel? Yes. Want to change PHP version on cpanel? Yes. Want to deploy PHP script on cpanel? Yes. Okay before deploy P... Read More

Laravel Project Upload To Cpanel Using Private Github Repository

Private GitHub repository for laravel uploading! Yes, You can easily upload your laravel project to shared hosting cpanel using private GitHub... Read More