Git (Version Control) - Install Git on Linux

by
Jeremy Canfield |
Updated: August 20 2022
| Git (Version Control) articles
On a Debian distribution (Mint, Ubuntu), the apt-get install command can be used to install Git. On a Red Hat distribution (CentOS, Fedora, Red Hat), the dnf install or yum install command can be used to install Git.
dnf install git
Then the git version command can be used to display the version of Git that has been installed.
~]$ git version
git version 1.8.3.1
Did you find this article helpful?
If so, consider buying me a coffee over at