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 with your respective username and email address.

git config --global "testuser"
git config --global ""

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

Select a MySQL Database on Linux via Command Line

Read Article

Select a MySQL Database on Linux via Command Line

Read Article

What is Cloud Automation?

Read Article

What is the Default Password for PostgreSQL?

Read Article

How to Create Custom Error Pages in cPanel

Read Article