Git a free and open source released a new version 2.19, it is a distributed version control system designed to handle everything from s...
In this tutorial, I will show you how to install git 2.19 On Ubuntu 18.04 LTS / 16.04, LinuxMint and CentOS
The Latest version of GIT is 2.19 which is a stable version and it is released on 10th September 2018
What's New in Git 2.19?
- The bulk of "git submodule foreach" has been rewritten in C.
- git worktree" command learned "--quiet" option to make it less verbose
- Many more strings are prepared for l10n.
- The userdiff pattern for .php has been updated.
- Code preparation to make "git p4" closer to be usable with Python 3.
- git diff" compares the index and the working tree. For paths added with intent-to-add bit the command shows the full contents of them as added, but the paths themselves were not marked as new files and now shown as new by default.
Installation steps
- Method 1: via ppa
- Method 2: via tar file
Method 1: Install Git 2.19 on ubuntu / LinuMint Via PPA
Step 1: Add the Official PPA provided by GITsudo add-apt-repository ppa:git-core/ppaStep 2: Update the Repository
sudo apt-get updateStep 3: Install GIT 2.19
sudo apt-get install git
Method 2: Install Git 2.19 on Ubuntu / LinuxMint / CentOS Via source file
Step 1: Download the tar file from the official site or use wgetwget https://www.kernel.org/pub/software/scm/git/git-2.19.0.tar.gz
Step 2: Extract the package and configure it
tar -xvf git-2.19.0.tar.gz
./configureStep 3: Compile the git
make && make installNote: if you encounter any error while using the make command install the below package and once again compile
For Debian distributions
apt-get install libssl-dev libcurl4-gnutls-dev
For CentOS
yum install openssl-devel curl-devel expat-devel gettext-devel zlib-devel perl-ExtUtils-MakeMakerCheck the version installed or not
git --version
COMMENTS