Git a free and open-source distributed version control system designed to handle everything from small to large projects with speed and efficiency. It is a client for the Popular GitHub.
This tutorial will be helpful for the beginners to install git 2.30.0 in Ubuntu 20.04 LTS, Ubuntu 20.10 LTS, CentOS 8.X, and Linux Mint 20
The latest version of GIT is 2.30.0 which is a stable version and it is released on 27th Dec 2020.
What’s new in Git 2.30.0?
For a complete changelog refer to the release notes
How to Install Git 2.30.0 in Ubuntu / Linux Mint & CentOS?
Two ways we can install Git
Method 1: Via PPA
Step 1: Add the Official PPA by GIT
Step 2: Update the repository
Step 3: Install Git 2.30.0
Method 2: Via Source file
Step 1: Install the required dependencies
For Ubuntu
For CentOS
Step 2: Download the source file using the below command
Step 3: Extract the package and configure it
Step 4: Compile the GIT
Verify the installed version using the below command