{"id":5341,"date":"2015-09-21T05:22:03","date_gmt":"2015-09-21T05:22:03","guid":{"rendered":"https:\/\/bodhost.com\/kb\/?p=5341"},"modified":"2026-02-26T14:03:12","modified_gmt":"2026-02-26T14:03:12","slug":"how-to-install-and-configure-git-on-fedora-22","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/how-to-install-and-configure-git-on-fedora-22\/","title":{"rendered":"How to Install and Configure Git on Fedora 22"},"content":{"rendered":"\r\n<p><strong>Introduction<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Git is a popular open-source version control system (VCS). It widely used for source code management (SCM), by sites like GitHub, which adds a social aspect to coding and makes software development much more easily collaborative. Other projects that use Git are famous names like \u201c<strong>Perl<\/strong>\u201d, \u201c<strong>Ruby on Rails<\/strong>\u201d, and the \u201c<strong>Linux Kernel<\/strong>.\u201d<\/p>\r\n\r\n\r\n\r\n<p>Please Note:<\/p>\r\n\r\n\r\n\r\n<p>&#8211; These instructions written for the installation of Git on Fedora 22.<\/p>\r\n\r\n\r\n\r\n<p>&#8211; I will be using a bodHOST Self Managed Fedora 22 server, and I will be logged in as root.<\/p>\r\n\r\n\r\n\r\n<p>If you are using CentOS 7, please refer to this link &#8211; Installing Git on CentOS 7.<\/p>\r\n\r\n\r\n\r\n<p>Installation Instructions<\/p>\r\n\r\n\r\n\r\n<p>Before anything else, make sure that the existing packages are updated to the latest versions before you install anything new. It is a good idea to make a habit of this.<\/p>\r\n\r\n\r\n\r\n<p>\u201cdnf -y update\u201d<\/p>\r\n\r\n\r\n\r\n<p>Now, run this command installation command using yum:<\/p>\r\n\r\n\r\n\r\n<p>\u201cdnf -y install git\u201d<\/p>\r\n\r\n\r\n\r\n<p>After this step completed, Git will be ready to use.<\/p>\r\n\r\n\r\n\r\n<p>Please Note: At the time of this writing, the latest version of Git that was available in the bodHOST dnf repositories was version 2.1.0. If you want to find out the version that currently installed, use the command below.<\/p>\r\n\r\n\r\n\r\n<p>\u201cgit &#8211;version\u201d<\/p>\r\n\r\n\r\n\r\n<p>Configuration<\/p>\r\n\r\n\r\n\r\n<p>In order to prevent any errors, it is a good idea to setup your user for Git by using the \u201c-gobal\u201d option, which will tell you the global configuration settings.<\/p>\r\n\r\n\r\n\r\n<p>\u201cgit config &#8211;global user. name \u201ctestuser\u201d<\/p>\r\n\r\n\r\n\r\n<p>\u201cgit config &#8211;global user.email \u201ctestuser@example.com\u201d<\/p>\r\n\r\n\r\n\r\n<p>Now, we will confirm our changes by looking at the \u201c.gitconfig.\u201d<\/p>\r\n\r\n\r\n\r\n<p>\u201cgit config &#8211;list\u201d<\/p>\r\n\r\n\r\n\r\n<p>That\u2019s it.<\/p>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Introduction Git is a popular open-source version control system (VCS). It widely used for source code management (SCM), by sites like GitHub, which adds a social aspect to coding and&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/how-to-install-and-configure-git-on-fedora-22\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[666],"tags":[1435,1437,1436],"class_list":["post-5341","post","type-post","status-publish","format-standard","hentry","category-general","tag-configure-git-on-fedora-22","tag-fedora-22","tag-git"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install and Configure Git on Fedora 22<\/title>\n<meta name=\"description\" content=\"Git is a popular open-source version control system (VCS). It is widely used for source code management (SCM)\" \/>\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.bodhost.com\/kb\/how-to-install-and-configure-git-on-fedora-22\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install and Configure Git on Fedora 22\" \/>\n<meta property=\"og:description\" content=\"Git is a popular open-source version control system (VCS). It is widely used for source code management (SCM)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/how-to-install-and-configure-git-on-fedora-22\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2015-09-21T05:22:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:03:12+00:00\" \/>\n<meta name=\"author\" content=\"Monitoring\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Monitoring\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-install-and-configure-git-on-fedora-22\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-install-and-configure-git-on-fedora-22\\\/\"},\"author\":{\"name\":\"Monitoring\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/5b35e4e897280691437d3efc95aed75b\"},\"headline\":\"How to Install and Configure Git on Fedora 22\",\"datePublished\":\"2015-09-21T05:22:03+00:00\",\"dateModified\":\"2026-02-26T14:03:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-install-and-configure-git-on-fedora-22\\\/\"},\"wordCount\":270,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"keywords\":[\"Configure Git on Fedora 22\",\"Fedora 22\",\"Git\"],\"articleSection\":[\"General Discussion\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-install-and-configure-git-on-fedora-22\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-install-and-configure-git-on-fedora-22\\\/\",\"name\":\"How to Install and Configure Git on Fedora 22\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2015-09-21T05:22:03+00:00\",\"dateModified\":\"2026-02-26T14:03:12+00:00\",\"description\":\"Git is a popular open-source version control system (VCS). It is widely used for source code management (SCM)\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-install-and-configure-git-on-fedora-22\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-install-and-configure-git-on-fedora-22\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-install-and-configure-git-on-fedora-22\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"General Discussion\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/general\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install and Configure Git on Fedora 22\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/5b35e4e897280691437d3efc95aed75b\",\"name\":\"Monitoring\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/52f304a7cceef71dabfcf8c0ea93164a7e144e61ba4a59f7cfdcc60bf8191593?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/52f304a7cceef71dabfcf8c0ea93164a7e144e61ba4a59f7cfdcc60bf8191593?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/52f304a7cceef71dabfcf8c0ea93164a7e144e61ba4a59f7cfdcc60bf8191593?s=96&d=mm&r=g\",\"caption\":\"Monitoring\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/monitoring\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install and Configure Git on Fedora 22","description":"Git is a popular open-source version control system (VCS). It is widely used for source code management (SCM)","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.bodhost.com\/kb\/how-to-install-and-configure-git-on-fedora-22\/","og_locale":"en_US","og_type":"article","og_title":"How to Install and Configure Git on Fedora 22","og_description":"Git is a popular open-source version control system (VCS). It is widely used for source code management (SCM)","og_url":"https:\/\/www.bodhost.com\/kb\/how-to-install-and-configure-git-on-fedora-22\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2015-09-21T05:22:03+00:00","article_modified_time":"2026-02-26T14:03:12+00:00","author":"Monitoring","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Monitoring","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/how-to-install-and-configure-git-on-fedora-22\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-install-and-configure-git-on-fedora-22\/"},"author":{"name":"Monitoring","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/5b35e4e897280691437d3efc95aed75b"},"headline":"How to Install and Configure Git on Fedora 22","datePublished":"2015-09-21T05:22:03+00:00","dateModified":"2026-02-26T14:03:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-install-and-configure-git-on-fedora-22\/"},"wordCount":270,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"keywords":["Configure Git on Fedora 22","Fedora 22","Git"],"articleSection":["General Discussion"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/how-to-install-and-configure-git-on-fedora-22\/","url":"https:\/\/www.bodhost.com\/kb\/how-to-install-and-configure-git-on-fedora-22\/","name":"How to Install and Configure Git on Fedora 22","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"datePublished":"2015-09-21T05:22:03+00:00","dateModified":"2026-02-26T14:03:12+00:00","description":"Git is a popular open-source version control system (VCS). It is widely used for source code management (SCM)","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-install-and-configure-git-on-fedora-22\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/how-to-install-and-configure-git-on-fedora-22\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/how-to-install-and-configure-git-on-fedora-22\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"General Discussion","item":"https:\/\/www.bodhost.com\/kb\/category\/general\/"},{"@type":"ListItem","position":2,"name":"How to Install and Configure Git on Fedora 22"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/5b35e4e897280691437d3efc95aed75b","name":"Monitoring","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/52f304a7cceef71dabfcf8c0ea93164a7e144e61ba4a59f7cfdcc60bf8191593?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/52f304a7cceef71dabfcf8c0ea93164a7e144e61ba4a59f7cfdcc60bf8191593?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/52f304a7cceef71dabfcf8c0ea93164a7e144e61ba4a59f7cfdcc60bf8191593?s=96&d=mm&r=g","caption":"Monitoring"},"url":"https:\/\/www.bodhost.com\/kb\/author\/monitoring\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/5341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=5341"}],"version-history":[{"count":3,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/5341\/revisions"}],"predecessor-version":[{"id":10717,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/5341\/revisions\/10717"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=5341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=5341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=5341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}