Skip to content

Installing Git

Purpose

Git can be installed using Debian apt with apt install git which version depends on the distribution.

This configuration manual ensures having the latest Git version on a system.

Latest Version Using the PPA

A PPA is available for this purpose and is specified on the Git-website which makes it easy.

For this we need application add-apt-repository to add PPA's located in the package software-properties-common.

apt-get install software-properties-common

Now for Git execute the following command.

add-apt-repository ppa:git-core/ppa