{"id":51133,"date":"2025-11-12T12:30:00","date_gmt":"2025-11-12T18:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=51133"},"modified":"2025-10-10T10:28:35","modified_gmt":"2025-10-10T15:28:35","slug":"how-to-install-git-on-debian-13","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/","title":{"rendered":"How to install Git on Debian 13"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/11\/how-to-install-git-on-debian-13.webp\" alt=\"Learn how to install Git on Debian 13\" class=\"wp-image-51192\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/11\/how-to-install-git-on-debian-13.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/11\/how-to-install-git-on-debian-13-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/11\/how-to-install-git-on-debian-13-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/11\/how-to-install-git-on-debian-13-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>In this blog post, we will explain how to install Git on Debian 13 OS. Git is a free and open-source distributed version control system that manages the code changes in files among multiple developers. The main characteristic of Git is its distributed nature, which means that every developer has a complete copy of the entire project locally. Git stores the data in a series of snapshots known as commits made at specific points in time. Among these, Git offers branching and Merging, which allow developers to work independently on different tasks for the same project.<\/p>\n\n\n\n<p>Installing Git is a straightforward process, and its installation time depends on which method is used. In this tutorial, we are going to cover both methods for installation, from source and from the default repository. Let&#8217;s get started!<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f3e6ce71a57\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f3e6ce71a57\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#Update-the-system\" >Update the system<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#Install-Git-from-the-default-Repository\" >Install Git from the default Repository<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#Install-Git-from-source\" >Install Git from source<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#Basic-Git-Commands\" >Basic Git Commands<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-prerequisites\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <a href=\"https:\/\/www.rosehosting.com\/debian-vps-hosting\/\">server running Debian<\/a> 13 OS<\/li>\n\n\n\n<li>User privileges: root or non-root user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-update-the-system\"><span class=\"ez-toc-section\" id=\"Update-the-system\"><\/span>Update the system<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before we start with the installation of GIT, we need to update the packages to their latest available versions. To do that, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update -y &amp;&amp; sudo apt upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-install-git-from-the-default-repository\"><span class=\"ez-toc-section\" id=\"Install-Git-from-the-default-Repository\"><\/span>Install Git from the default Repository<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The easiest and fastest way to install Git is to use the default Debian 13 repository. To do that, you can simply execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install git -y<\/pre>\n\n\n\n<p>To check the installed version, execute the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git --version<\/pre>\n\n\n\n<p>You should get output similar to this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# git --version\ngit version 2.47.2\n<\/pre>\n\n\n\n<p>Now you have installed a Git version provided by the default Debian 13 repository. If you want to install a specific Git version, you will have to download and build it from source, which will be explained in the next heading.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-install-git-from-source\"><span class=\"ez-toc-section\" id=\"Install-Git-from-source\"><\/span>Install Git from source<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>As we explained above, sometimes we need a specific Git version to install. For that, we will download it, compile, and build the Git version from source. Building Git from source requires installation prerequisites, which can be installed with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install make libssl-dev libcurl4-gnutls-dev libexpat1-dev libghc-zlib-dev gettext -y<\/pre>\n\n\n\n<p>Once these prerequisites are installed, we can download the desired Git version. Let&#8217;s download a slightly lower version than the version we installed in the previous heading.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/opt\n\nwget https:\/\/github.com\/git\/git\/archive\/refs\/tags\/v2.44.1.tar.gz\n<\/pre>\n\n\n\n<p>Extract the compressed file first and then enter the extracted folder:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tar -xvf v2.44.1.tar.gz\n\ncd git-2.44.1\/\n<\/pre>\n\n\n\n<p>To build Git from source, execute the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo make prefix=\/usr\/local all<\/pre>\n\n\n\n<p>The building process will begin, and it is expected to take around 5 minutes to complete.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:\/opt\/git-2.44.1# sudo make prefix=\/usr\/local all\nGIT_VERSION = 2.44.1\n    * new build flags\n    CC oss-fuzz\/dummy-cmd-main.o\n    CC oss-fuzz\/fuzz-commit-graph.o\n    CC oss-fuzz\/fuzz-date.o\n    CC oss-fuzz\/fuzz-pack-headers.o\n    CC oss-fuzz\/fuzz-pack-idx.o\n    CC daemon.o\n    .\n    .\n<\/pre>\n\n\n\n<p>Once the installation files are built and compiled, we can proceed with the installation. Execute the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo make prefix=\/usr\/local install<\/pre>\n\n\n\n<p>The command will install Git very fast, and then we need to create a symbolic link:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ln -s \/usr\/local\/bin\/git \/usr\/bin\/git<\/pre>\n\n\n\n<p>Then we can check the installed Git version:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git --version<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# git --version\ngit version 2.44.1<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-basic-git-commands\"><span class=\"ez-toc-section\" id=\"Basic-Git-Commands\"><\/span>Basic Git Commands<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Here are some basic Git commands used on a daily basis:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git init \u2014 Initializes a new Git repository in the current directory. \n\ngit clone \u2014 Creates a local copy of an existing Git repository. \n\ngit status \u2014 Displays the current state of the working directory and staging area. \n\ngit add \u2014 Stages changes (files) so they\u2019ll be included in the next commit. \n\ngit commit \u2014 Records the staged changes in the repository\u2019s history. \n\ngit log \u2014 Shows the history of commits in a branch. \n\ngit diff \u2014 Displays differences between working files and the latest commit. \n\ngit branch \u2014 Lists, creates, or deletes branches (managing parallel development lines). \n\ngit checkout \u2014 Switches between branches or restores files to a previous state. \n\ngit merge \u2014 Integrates changes from one branch into the current branch. \n\ngit remote \u2014 Manages and lists remote repository links. \n\ngit pull \u2014 Fetches updates from a remote repository and merges them into the current branch. \n\ngit push \u2014 Uploads local commits to a remote repository. \n\ngit rebase \u2014 Rewrites commit history by applying commits onto a new base. \n\ngit reset \u2014 Reverts the current branch to a previous state, potentially discarding commits or moves. \n\ngit show \u2014 Reveals information about a specific Git object (like a commit). \n\ngit commit --amend \u2014 Modifies the most recent commit (e.g., to correct messages or add files).\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The installation process of Git depends on the way you choose, and it can be done in a couple of minutes or a couple of seconds. However, Git is the most widely used version control system, primarily among developers. With its performance, flexibility, ease of use, and ability to track file states, we can confidently say that it is the best version control system.<\/p>\n\n\n\n<p>Congratulations! You successfully installed Git in different ways on Debian 13 OS and learned some basic Git commands.<\/p>\n\n\n\n<p>Of course, you do not have to install it on your own if you have difficulties and are not familiar with Linux. All you have to do is sign up for one of our NVMe VPS plans and submit a support ticket. Our admins are available 24\/7 and will help you with any aspect of installing Git.<\/p>\n\n\n\n<p>If you liked this post on installing Git on Debian 13, please share it with your friends on social networks or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog post, we will explain how to install Git on Debian 13 OS. Git is a free and &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to install Git on Debian 13\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#more-51133\" aria-label=\"Read more about How to install Git on Debian 13\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":51194,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1700],"tags":[2265,285,1603],"class_list":["post-51133","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","tag-debian-13","tag-git","tag-how-to-install","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install Git on Debian 13 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to install Git on Debian 13 easily with our step-by-step guide for both source and repository installation methods.\" \/>\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.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install Git on Debian 13\" \/>\n<meta property=\"og:description\" content=\"How to install Git on Debian 13 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-12T18:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/11\/how-to-install-git-on-debian-13-1.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-git-on-debian-13\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-git-on-debian-13\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to install Git on Debian 13\",\"datePublished\":\"2025-11-12T18:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-git-on-debian-13\\\/\"},\"wordCount\":606,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-git-on-debian-13\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/how-to-install-git-on-debian-13-1.webp\",\"keywords\":[\"debian 13\",\"git\",\"how to install\"],\"articleSection\":[\"Debian\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-git-on-debian-13\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-git-on-debian-13\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-git-on-debian-13\\\/\",\"name\":\"How to install Git on Debian 13 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-git-on-debian-13\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-git-on-debian-13\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/how-to-install-git-on-debian-13-1.webp\",\"datePublished\":\"2025-11-12T18:30:00+00:00\",\"description\":\"Learn how to install Git on Debian 13 easily with our step-by-step guide for both source and repository installation methods.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-git-on-debian-13\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-git-on-debian-13\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-git-on-debian-13\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/how-to-install-git-on-debian-13-1.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/how-to-install-git-on-debian-13-1.webp\",\"width\":1024,\"height\":576,\"caption\":\"how to install git on Debian 13\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-git-on-debian-13\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Git on Debian 13\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to install Git on Debian 13 | RoseHosting","description":"Learn how to install Git on Debian 13 easily with our step-by-step guide for both source and repository installation methods.","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.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/","og_locale":"en_US","og_type":"article","og_title":"How to install Git on Debian 13","og_description":"How to install Git on Debian 13 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2025-11-12T18:30:00+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/11\/how-to-install-git-on-debian-13-1.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to install Git on Debian 13","datePublished":"2025-11-12T18:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/"},"wordCount":606,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/11\/how-to-install-git-on-debian-13-1.webp","keywords":["debian 13","git","how to install"],"articleSection":["Debian"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/","name":"How to install Git on Debian 13 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/11\/how-to-install-git-on-debian-13-1.webp","datePublished":"2025-11-12T18:30:00+00:00","description":"Learn how to install Git on Debian 13 easily with our step-by-step guide for both source and repository installation methods.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/11\/how-to-install-git-on-debian-13-1.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2025\/11\/how-to-install-git-on-debian-13-1.webp","width":1024,"height":576,"caption":"how to install git on Debian 13"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-git-on-debian-13\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install Git on Debian 13"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/51133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=51133"}],"version-history":[{"count":3,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/51133\/revisions"}],"predecessor-version":[{"id":51195,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/51133\/revisions\/51195"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/51194"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=51133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=51133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=51133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}