{"id":4596,"date":"2018-08-08T13:59:11","date_gmt":"2018-08-08T13:59:11","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2018\/08\/08\/how-to-use-git-version-control-in-cpanel\/"},"modified":"2025-07-08T18:52:43","modified_gmt":"2025-07-08T22:52:43","slug":"how-to-use-git-version-control-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/","title":{"rendered":"How to Use Git Version Control in cPanel"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel-1024x538.png\" alt=\"How To Use Git Version Control in cPanel\" class=\"wp-image-94376\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel.png 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>Do all of your Git stuff right from within your hosting account? Yes. With cPanel you can now host a private or public repository without paying premium costs to third party Git hosting services like GitHub or BitBucket. (These steps will also work with any InMotion Hosting cPanel-based hosting plan.)<\/p>\n\n\n\n<p>While Git Version Control is available in all of our hosting accounts, we\u2019d recommend a <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\">VPS<\/a> or <a href=\"https:\/\/www.inmotionhosting.com\/dedicated-servers\">Dedicated hosting<\/a> package, so you can exercise more control over individual shell user privileges. This is especially important if you plan on having other users access your Git repository.<\/p>\n\n\n\n<p class=\"alert alert-danger\">Be very careful creating a repository in a directory that already contains files. If, for some reason, you delete the repository from cPanel, the whole directory will be erased!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-a-git-repository\">How to Create a Git Repository with cPanel<\/h2>\n\n\n\n<p class=\"alert alert-info\">In this first part we\u2019re creating a <em>new<\/em> repository. Later, we\u2019ll show you how you can \u201cclone\u201d an existing repository instead.<\/p>\n\n\n\n<p>If you\u2019re creating a repository for the first time, you\u2019ll be prompted to fill in the necessary fields right away. Otherwise, you\u2019ll just need to click the blue <i>Create<\/i> button. These steps are detailed below:<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li><a href=\"\/support\/edu\/cpanel\/access-cpanel-via-whm\/\">Log into cPanel<\/a>.<\/li>\n\n\n\n<li>Select <b>Git Version Control<\/b> under <em>Files<\/em>.<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"284\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel-files-git-version-control-1024x284.png\" alt=\"Select Git Version Control under Files in cPanel\" class=\"wp-image-130623\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel-files-git-version-control-1024x284.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel-files-git-version-control-300x83.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel-files-git-version-control-768x213.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel-files-git-version-control-1536x427.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel-files-git-version-control.png 2016w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Click <b>Create<\/b> (if you haven\u2019t created any repositories yet, you\u2019ll be skipped ahead to the next step automatically).<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"316\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-version-control-create-1024x316.png\" alt=\"Click on Create to link a Repository\" class=\"wp-image-130622\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-version-control-create-1024x316.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-version-control-create-300x93.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-version-control-create-768x237.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-version-control-create-1536x475.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-version-control-create-2048x633.png 2048w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Toggle <strong>off<\/strong> the <em>Clone a Repository<\/em> button.<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"741\" class=\"wp-image-130627\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-create-repository-clone-off-1024x741.png\" alt=\"Toggle Clone Off\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-create-repository-clone-off-1024x741.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-create-repository-clone-off-300x217.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-create-repository-clone-off-768x556.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-create-repository-clone-off.png 1370w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Fill in the file path to the new repository.<\/li>\n\n\n\n<li>Provide a name for the repository as it will appear in your cPanel interface.<\/li>\n\n\n\n<li>Click <b>Create<\/b> at the bottom.<\/li>\n<\/ol>\n\n\n\n<p>Now, cPanel will create the repository and provide you with some helpful Git commands you can run in a shell session in order to use this repository.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"clone-a-repository\">How to \u201cClone\u201d a Git Repository in cPanel<\/h2>\n\n\n\n<p>Instead of creating your own Git repository, you can \u201cclone\u201d a repository that already exists out on the Web: for example, from the popular Git hosting site GitHub.<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li><a href=\"\/support\/edu\/cpanel\/access-cpanel-via-whm\/\">Log into cPanel<\/a>.<\/li>\n\n\n\n<li>Select <b>Git Version Control<\/b> under <em>Files<\/em>.<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"284\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel-files-git-version-control-1024x284.png\" alt=\"Select Git Version Control under Files in cPanel\" class=\"wp-image-130623\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel-files-git-version-control-1024x284.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel-files-git-version-control-300x83.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel-files-git-version-control-768x213.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel-files-git-version-control-1536x427.png 1536w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel-files-git-version-control.png 2016w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Copy the clone URL into the <em>Clone URL<\/em>.<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"955\" class=\"wp-image-130621\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-create-repository-1024x955.png\" alt=\"Create Git Repository with Clone On\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-create-repository-1024x955.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-create-repository-300x280.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-create-repository-768x716.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/git-create-repository.png 1364w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>Fill in a file path for the repository (remember the cloned repository provides its own directory).<\/li>\n\n\n\n<li>Fill in a name for the repository as it will appear in your cPanel interface.<\/li>\n\n\n\n<li>Click <b>Create<\/b>.<\/li>\n<\/ol>\n\n\n\n<p>Now you have successfully cloned a repository into your hosting account. This is a great way of cloning in a homepage you may have under version control at a different location or just a repository of various scripts or assets you may need for a project.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How To Clone a Git Repository To Your Local Computer<\/h2>\n\n\n\n<p>One of the most important aspects of managing a project in Git is being able to sync the remote repository with your local work.\u00a0 This process will be a little different for VPS and shared hosting users.<\/p>\n\n\n\n<p>The best way to clone a Git repository is to use the default SSH connection.\u00a0 While your VPS uses the default port 22, the <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/shared-reseller-ssh\/\">shared hosting server uses port 2222<\/a>.\u00a0 The only difference here is where you state what port you want to use.<\/p>\n\n\n\n<p>For VPS users, the clone command will look like this:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>git clone ssh:\/\/userna5@example.com:\/home\/userna5\/test-git-site<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">git<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">clone<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">ssh:\/\/userna5@example.com:\/home\/userna5\/test-git-site<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>For shared hosting, you will just need to specify the port:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>git clone ssh:\/\/userna5@example.com:2222\/home\/userna5\/test-git-site<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">git<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">clone<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">ssh:\/\/userna5@example.com:2222\/home\/userna5\/test-git-site<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u201cPermission Denied\u201d Error<\/h2>\n\n\n\n<p>If you encounter a \u201cpermission denied\u201d error when trying to clone a private repository (from GitHub or other provider) you will need to <a href=\"https:\/\/docs.cpanel.net\/knowledge-base\/web-services\/guide-to-git-set-up-access-to-private-repositories\/\">register an SSH key<\/a> on your server for this purpose.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-create-a-repository\">Why Create a Git Repository in cPanel<\/h2>\n\n\n\n<p>It\u2019s true that you can launch your own repository wherever you have Git installed. However, cPanel makes the process much easier by creating the repository and the necessary executable files to save and launch your project right away.<\/p>\n\n\n\n<p class=\"alert alert-info\">But, if you want to do it the long way, you can follow our article on <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/git\/using-git-to-publish-files\/\">using Git to publish files<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"manage-projects-with-git-in-cPanel\">Manage Projects With Ease<\/h3>\n\n\n\n<p>We\u2019ve gone into some depth explaining how Git works in our Git <a href=\"\/support\/website\/git\/\">tutorial series<\/a>. But if you want a closer look to see how Git can work for you, you can now easily set up a Git repository with any of our cPanel hosting accounts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"helpful-git-commands\">Helpful Commands Delivered<\/h3>\n\n\n\n<p>cPanel gives you the essential commands you\u2019ll need to get started the instant you\u2019ve created your repository.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"resources\">Let us Know What You Think<\/h2>\n\n\n\n<p>Have you been using Git for a long time, or you just getting started?<\/p>\n\n\n\n<p>If you need any further resources about Git, be sure to check these out:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/website\/git\/how-to-install-git\/\">How to Install Git<\/a><\/li>\n\n\n\n<li><a href=\"\/support\/website\/git\/why-of-why-not-use-github\/\">Why or why not use Github?<\/a><\/li>\n\n\n\n<li><a href=\"\/support\/website\/git\/using-branches-in-git\/\">How to create \u201cbranches\u201d in Git<\/a><\/li>\n<\/ul>\n\n\n\n<p>We\u2019re excited that our hosting customers can now easily set up and use Git repositories from within cPanel. If you have troubles along the way, be sure to leave a comment and let us know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do all of your Git stuff right from within your hosting account? Yes. With cPanel you can now host a private or public repository without paying premium costs to third party Git hosting services like GitHub or BitBucket. (These steps will also work with any InMotion Hosting cPanel-based hosting plan.) While Git Version Control is<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/\"> Read More ><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[51],"tags":[],"class_list":["post-4596","post","type-post","status-publish","format-standard","hentry","category-cpanel"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Use Git Version Control in cPanel | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this article, we&#039;ll show you how you can use Git Version Control right from your cPanel account, fast and easy.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use Git Version Control in cPanel | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this article, we&#039;ll show you how you can use Git Version Control right from your cPanel account, fast and easy.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-08T13:59:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-08T22:52:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Christopher Maiorana\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christopher Maiorana\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/\"},\"author\":{\"name\":\"Christopher Maiorana\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\"},\"headline\":\"How to Use Git Version Control in cPanel\",\"datePublished\":\"2018-08-08T13:59:11+00:00\",\"dateModified\":\"2025-07-08T22:52:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/\"},\"wordCount\":801,\"commentCount\":11,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel-1024x538.png\",\"articleSection\":[\"cPanel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/\",\"name\":\"How to Use Git Version Control in cPanel | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel-1024x538.png\",\"datePublished\":\"2018-08-08T13:59:11+00:00\",\"dateModified\":\"2025-07-08T22:52:43+00:00\",\"description\":\"In this article, we'll show you how you can use Git Version Control right from your cPanel account, fast and easy.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Use Git Version Control in cPanel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\",\"name\":\"Christopher Maiorana\",\"description\":\"Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Use Git Version Control in cPanel | InMotion Hosting","description":"In this article, we'll show you how you can use Git Version Control right from your cPanel account, fast and easy.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to Use Git Version Control in cPanel | InMotion Hosting","og_description":"In this article, we'll show you how you can use Git Version Control right from your cPanel account, fast and easy.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2018-08-08T13:59:11+00:00","article_modified_time":"2025-07-08T22:52:43+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel.png","type":"image\/png"}],"author":"Christopher Maiorana","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Christopher Maiorana","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/"},"author":{"name":"Christopher Maiorana","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f"},"headline":"How to Use Git Version Control in cPanel","datePublished":"2018-08-08T13:59:11+00:00","dateModified":"2025-07-08T22:52:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/"},"wordCount":801,"commentCount":11,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel-1024x538.png","articleSection":["cPanel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/","name":"How to Use Git Version Control in cPanel | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel-1024x538.png","datePublished":"2018-08-08T13:59:11+00:00","dateModified":"2025-07-08T22:52:43+00:00","description":"In this article, we'll show you how you can use Git Version Control right from your cPanel account, fast and easy.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/02\/How-to-Use-Git-Version-Control-in-cPanel.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-use-git-version-control-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Use Git Version Control in cPanel"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f","name":"Christopher Maiorana","description":"Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.","sameAs":["https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":51,"name":"cPanel","slug":"cpanel","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=4596"}],"version-history":[{"count":12,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4596\/revisions"}],"predecessor-version":[{"id":130632,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4596\/revisions\/130632"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=4596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=4596"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=4596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}