This tutorial will be helpful for beginners to install git 2.30.1 in Ubuntu 20.04 LTS, Ubuntu 20.10 LTS, CentOS 8.X, Fedora 33, and Linux Mint 20.
The latest version of GIT is 2.30.1 which is a stable version and it is released on 8th Feb 2020 and this release is primarily to fix merges accumulated on the master front to prepare for the 2.31 release.
What’s new in Git 2.30.1?
For a complete changelog refer to the release notes
How to Install Git 2.30.1 in Ubuntu / Linux Mint / Fedora & CentOS?
Method 1: Via PPA
Step 1: Add the Official GIT PPA
Step 2: Update the repository and install git
Method 2: Via Source file
Step 1: Install the required dependencies
For Ubuntu
For CentOS / Fedora
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