hello everyone and welcome back to our channel in today's video I'll be showing you how to connect cpanel to GitHub in 2024 So today we're delving into a crucial integration that can streamline your web development workflow which is how to connect cpanel to GitHub in 2024 so if you're ready to enhance your collaboration or your collaboration and Version Control for your website stick around and I'll guide you through the step-by-step process of linking your C panel to GitHub so let's get started before we start with this video make sure to watch us from now till
the end so you have full experience first we'll have to go and access both your C panel and GitHub to do so go open whatever browser you're going to use to follow this tutorial s with for me to access my C panel I'll use a website called Infinity uh fre I guess yeah Infinity free so I'll go to my Infinity free.com because this will provide me with a free C panel this I can access to for you just go and access your C panel wherever it is and of course you will have to go and
open a new tab go again to this URL type github.com and hits the enter button this should take you into the home screen main screen of both your C panel provider and even GitHub so let's start with GitHub just go to the top right corner click on sign in to signning into your account if you have an account and if you don't click on sign up to create a new account for your own so as an example for me if I click here and sign in I'll be able to Simply sign in into my account
and if I don't have an account I'll be able to Simply click on create an account to create my account as simple as that so I'll have to start with entering my email as an example after that click on continue this email is invalid already taken yeah um because I have an account on this email so let me just go log into that I wanted to show you like how to create your account but seems like I already used this email so let's just go log into it so incor password let's just go and do
forget password let's enter my email again verify the account verify solve this panel uh this like puzzle submit and yeah I guess all good so save in password so I'll have to go to my email provider which is Gmail in here so return to sign in because I will just change my or reset my password from here so click on reset password and from here yeah I should be able to reset my password and yeah I should do it in here or let me just check just in case if I have this password inste yeah
so it seems we don't even have to reset the password I'll have just to get the code that they sent me so this is the code 7437 so 74 37 I guess 08 I'm not very sure of that yeah it was 08 so yeah now we are logged in into our GitHub accounts of course we'll have to do the same with our CP provider I'll just go log into my account register if don't have an account and of course this is going to be my accounts and this is going to be my C panel or
control panel and here we are so what do we need to do is simply go and create a new repository on GitHub in your GitHub account go and create a new repository make sure sure to have it public or private whatever suits you can even give it a name so for me I'll just name it a test and or the exist on this account so test zero and click on create a new repository as simple as that once you do so once you create your new repository of course and this of course is going to
be for this project of course this will serve as the central hub for your code base make sure to initiate their pository with a readme file to get started of course you'll be able to import code into that you'll be able to get started with get Hub co-pilot and even invite some collaborators for that so now what you'll need to do simply go within the C panel or access the C panel uh file manager so within C panel navigates to the file manager so of course you can uh go and look for that in here
as example so let's look for file manager as you can see we have the online file manager of free FTP uh software of course if you have like me even this option here file manager just go and click on that before even going to the through the C panel that will be cool of course if you want to like go through the online like uh file manager that's cool that's already like also cool as you can see so it will take you even to kind of the same thing so if you want to click here
on file manager to easy access that that will be cool of course that's if it's if it's there in your provider if it's not just go to your control panel look for file manager and go and click on that once you access your file manager of course this is will your manage and upload your website file make sure to locate the rout Direct Dory of your website typically the public HTML folder and then what you'll need to do simply go and click on uh the gets virgin control option so first of all we'll have to
go here f for your website should be uploaded here as example so you'll be able to do everything here if you want to this is the index HTML and yeah this the HTA access or HT access override will be here and do not upload uh the files here so make sure to go and upload it inside like this folder in here so upload everything that you want in here so what you'll need to do in here just go down in here and simply make sure to go and click on fch file or import or something
and you'll have to enter the URL of the file or the your repository so we would like to get the repository of our GitHub so here we'll have to choose uh Imports and paste the URL of your GitHub repository and this essential Clon your GitHub repository into your cpanel account so go back to your Repository as an example and simply this is of course for SSH and this is uh for uh this of course for https and this is for SSH so get whatever suits you of course so I'll just get the RL in here
and simply go and put that in here and click on okay so in a known error Ur the remote file fetch maybe there's a problem at the moment but of course it's fine maybe uh let's just go as example create a new file or new folder I'll just name it a test or I'll name it GitHub why not and of course inside this folder let's just try as an example to do the same thing again and see if everything is working okay it's not working so maybe they have a problem at the moment and I
will not be able to do so but for you you'll have to go and click on get virgin control option in C panel and there you'll find like an option to create and import a repository and you can choose of course import paste the URL of your Repository of your GitHub repository and this is essential to clone of course your GitHub repository for your cpanel account and after that simply of course you will have to after importing the repository you have the option to pull changes from GitHub and this ensure that uh your your C
panel manage file are in synced of course with the codebase on GitHub and its vital step for collaborative development and even make make changes of course to your website files using the cpanel file manager uh after making changes return to the GS Version Control and C panel commit your changes and push them back to your GS repository to keep everything up to date of course make sure to even take advantage of branching and get for collaborative work create branches uh make changes and merge them back into the main branch this is a powerful of course
feature for team development and project organization and make sure to stay monitoring and pulling requests every time GitHub of course provides a robot set of tools for managing your code base and collaborating with your team so that's going to be it for me today for you there you have it you've successfully learned how to connect C panel to GitHub uh thanks for joining me today this integration will Empower you to do everything that you want if you like this video make sure to to leave a like down below subscribe to our channel for more Hal
for like this one and I'll see you in the next video