25th Anniversary Savings | 25% Off Dedicated Servers*Shop Now
25th Anniversary Savings | 25% Off VPS Hosting* †††Shop Now
Dedicated Hosting Deals | From $99/moShop Now
Earn hosting credits and a chance to win an Amazon gift card when you refer friends to Liquid Web!Read our promo rules

How to Install and Configure Git on Fedora 22

Posted on by Ronald Caldwell | Updated:
Reading Time: < 1 minute

Git is a widely adopted, open source distributed version control system (VCS). It’s commonly used for source code management (SCM) with sites like GitHub and popular projects such as Perl, and Ruby on Rails. It is also used to maintain VCS and SCM for the Linux kernel.

While installing git on CentOS 7 is quite popular, developers use other operating systems and need access to the same functionality. This guide walks you through how to install and configure Git on Fedora 22.


  • A server running Fedora 22.
  • Root-level access.

Install Git on Fedora 22

Step 1:

First, ensure the existing packages are up to date using the following command.

dnf -y update

Step 2:

Next, run the following command to install Git.

dnf -y install git

Once this completes, Git is installed and ready to use.

Step 3:

You can check the installed version of Git using the following command.

git --version

Configure Git on Fedora 22

Step 1:

To prevent any commit errors, it’s a good idea to set up your user for git. Using the --global option specifies global configuration settings. Replace testuser and testuser@example.com with your respective username and email address.

git config --global user.name "testuser"
git config --global user.email "testuser@example.com"

Step 2:

Verify the configuration changes by running the following command.

git config --list

Wrapping Up

This quick tutorial helps you install and configure Git on Fedora 22. Much more can be done but knowing the basics gets you started.

Liquid Web offers VPS Hosting, Cloud Dedicated Servers, and Dedicated Servers for your new and existing projects. Contact our sales team to get started.

Avatar for Ronald Caldwell

About the Author: Ronald Caldwell

Ron is a Technical Writer at Liquid Web working with the Marketing team. He has 9+ years of experience in Technology. He obtained an Associate of Science in Computer Science from Prairie State College in 2015. He is happily married to his high school sweetheart and lives in Michigan with her and their children.

Latest Articles

How to Edit the PHP Memory for Your WordPress Site via WP Toolkit

Read Article

What is CGI-Bin and What Does it Do?

Read Article

Top 10 Password Security Standards

Read Article

Top 10 Password Security Standards

Read Article

How to Use the WP Toolkit to Secure and Update WordPress

Read Article