{"id":1737,"date":"2025-06-10T12:05:23","date_gmt":"2025-06-10T12:05:23","guid":{"rendered":"https:\/\/hostrago.com\/knowledge-base\/?p=1737"},"modified":"2025-06-11T10:42:20","modified_gmt":"2025-06-11T10:42:20","slug":"how-to-install-and-update-using-git-version","status":"publish","type":"post","link":"https:\/\/hostrago.com\/knowledge-base\/how-to-install-and-update-using-git-version\/","title":{"rendered":"How to Install and Update Using Git Version Control in cPanel"},"content":{"rendered":"\n<p>Managing your code efficiently is essential for modern web development, and Git Version Control is a powerful tool to help with that. In this guide, we&#8217;ll walk you through the process of installing and updating projects How to install and update Using Git version perfectly tailored for users hosting their websites on <a href=\"https:\/\/www.hostrago.com\">HostraGo<\/a>.<\/p>\n\n\n\n<p>Whether you&#8217;re a developer deploying code to production or a beginner learning Git, follow this tutorial to streamline your version control process.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Log in to Your cPanel via HostraGo<\/h2>\n\n\n\n<p>To get started, you need to access your <a href=\"https:\/\/cpanel.net\/\" target=\"_blank\" rel=\"noopener\">cPanel <\/a>dashboard. Follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the <a href=\"https:\/\/hostrago.com\/knowledge-base\">HostraGo Knowledge Base<\/a>.<\/li>\n\n\n\n<li>Look for the article titled <strong><a href=\"https:\/\/hostrago.com\/knowledge-base\/how-to-login-in-cpanel\/\">How to Login in cPanel<\/a><\/strong>.<\/li>\n\n\n\n<li>Follow the instructions to log in using your cPanel username and password provided at the time of hosting setup.<\/li>\n<\/ol>\n\n\n\n<p>After successful login, you will be redirected to your <strong>cPanel dashboard<\/strong>, where all your hosting tools and services are available.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\ud83d\udd10 <strong>Tip:<\/strong> If you\u2019ve forgotten your login details, you can reset them from your HostraGo client portal or reach out to <a href=\"https:\/\/hostrago.com\/contact-us\">HostraGo Support<\/a>.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Locate Git Version Control<\/h2>\n\n\n\n<p>Once logged into cPanel, scroll down to the <strong>Files<\/strong> section and click on <strong>Git\u2122 Version Control<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"508\" src=\"https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Git-Version-Control-in-cPanel-1024x508.png\" loading=\"lazy\" alt=\"Git Version Control in cPanel\" class=\"wp-image-1778\" srcset=\"https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Git-Version-Control-in-cPanel-1024x508.png 1024w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Git-Version-Control-in-cPanel-300x149.png 300w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Git-Version-Control-in-cPanel-768x381.png 768w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Git-Version-Control-in-cPanel-1536x761.png 1536w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Git-Version-Control-in-cPanel-2048x1015.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This will open the Git Version Control interface, where you can manage all your repositories.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Enter Repository Information and Click Create<\/h2>\n\n\n\n<p>Once you&#8217;ve reached the \u201cGit\u2122 Version Control\u201d interface in your cPanel, it\u2019s time to configure the essential details for your repository. This step is crucial because it tells your server <strong>what repository to clone<\/strong>, <strong>where to store it<\/strong>, and <strong>how it will be referenced<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"506\" src=\"https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Enter-Repository-Information-and-Click-Create-1024x506.png\" loading=\"lazy\" alt=\"Enter Repository Information and Click Create\" class=\"wp-image-1741\" srcset=\"https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Enter-Repository-Information-and-Click-Create-1024x506.png 1024w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Enter-Repository-Information-and-Click-Create-300x148.png 300w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Enter-Repository-Information-and-Click-Create-768x379.png 768w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Enter-Repository-Information-and-Click-Create-1536x759.png 1536w, https:\/\/hostrago.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/Enter-Repository-Information-and-Click-Create-2048x1012.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Clone URL<\/strong>:<br>In this field, paste the URL of your remote Git repository. This could be a GitHub, GitLab, or Bitbucket repository. The URL must begin with <code>http:\/\/<\/code>, <code>https:\/\/<\/code>, <code>ssh:\/\/<\/code>, or <code>git:\/\/<\/code>.<br>Example: arduinoCopyEdit<code>https:\/\/github.com\/yourusername\/your-repository.git<\/code><\/li>\n\n\n\n<li><strong>Repository Path<\/strong>:<br>This is the directory on your hosting server where your Git repo will be cloned. In this example, it\u2019s set to: arduinoCopyEdit<code>\/home\/hostragocom23\/<\/code> \u2705 Make sure the path does <strong>not contain<\/strong> special characters like <code>\\<\/code>, <code>*<\/code>, <code>!<\/code>, <code>{}<\/code>, or spaces. The system will create this directory if it doesn\u2019t already exist.<\/li>\n\n\n\n<li><strong>Repository Name<\/strong>:<br>This is simply a display name and does not affect functionality. Choose a descriptive name for easier reference, like <code>MyWebsiteRepo<\/code>.<\/li>\n\n\n\n<li><strong>Click the &#8220;Create&#8221; Button<\/strong>:<br>Once all the fields are filled correctly, click the blue <strong>Create<\/strong> button. This will either:\n<ul class=\"wp-block-list\">\n<li>Clone the repository to your server, or<\/li>\n\n\n\n<li>Set up a new empty repository if you didn\u2019t provide a Clone URL.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p>\ud83d\udd01 You can also check the \u201cCreate Another\u201d checkbox if you want to add multiple repositories without leaving the page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Benefits of How to install and update Using Git version<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Version Control<\/strong>: Easily manage project versions and changes<\/li>\n\n\n\n<li><strong>Collaboration<\/strong>: Work with teams more effectively<\/li>\n\n\n\n<li><strong>Security<\/strong>: Keep production safe by tracking all changes<\/li>\n\n\n\n<li><strong>One-click Updates<\/strong>: Deploy new changes quickly and safely<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Common Errors &amp; Troubleshooting<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Shell Access Required<\/strong>: If you see a warning about shell access, enable it via WHM or contact HostraGo support.<\/li>\n\n\n\n<li><strong>Permission Denied<\/strong>: Double-check SSH keys and file permissions.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Final Thoughts<\/h2>\n\n\n\n<p>How to install and update Using Git version is a must-have for developers and site managers. With HostraGo\u2019s user-friendly cPanel interface, it becomes even easier to manage your site efficiently.<\/p>\n\n\n\n<p>If you&#8217;re looking for hosting that supports modern developer tools, <a href=\"https:\/\/www.hostrago.com\">check out our hosting plans<\/a>.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Managing your code efficiently is essential for modern web development, and Git Version Control is a powerful tool to help with that. In this guide,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1738,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[171,174,173,170,172,175],"class_list":["post-1737","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","tag-cpanel-git-setup","tag-git-deployment","tag-git-repository-in-cpanel","tag-git-version-control","tag-install-git-on-cpanel","tag-update-git-cpanel"],"menu_order":0,"_links":{"self":[{"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=1737"}],"version-history":[{"count":2,"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1737\/revisions"}],"predecessor-version":[{"id":1779,"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1737\/revisions\/1779"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/media\/1738"}],"wp:attachment":[{"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=1737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=1737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostrago.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=1737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}