

Specify the installation path for Git or leave the default one shown in the dialog. Accept the License agreement and click on Next.

A portable version of Git is also available, which can be used as an alternative if the installation isn’t possible using normal means due to administrative restrictions. The installer will request Administrative access and should be accepted for the installation to succeed. Accept any prompts that Windows’ User Access Control may show at the beginning of the installation. Launch the downloaded Git installer, and the installation wizard should pop-up. Most new systems support 64-bit architecture, and the default downloader provided by the site should be good for most purposes. Download the applicable installer to your Windows system.Īs of version 2.29.2, it offers 32 bit and 64-bit versions of Git choose the one that matches your needs and system architecture. Windows binary installers are available from the official Git site. Now, run the below command to install Git on Ubuntu:īelow is an installation log snippet for installation on Ubuntu 20: Git on Windows # First, update the apt package index by using the below command:

On Ubuntu, the simplest way to install git is to use an apt package manager. Here’s the installation snippet of installing Git on CentOS 8: Git on Ubuntu # To install Git on CentOS release 8.x or RHEL 8.x, we’ll use DNF package manager. If prompted to confirm like below, confirm by pressing ‘y’:īelow is the installation snippet of Git on CentOS 7 minimal setup (please note dependencies installed along with Git may differ on your installation based on your OS version and installed packages): Git on CentOS 8.x # To install Git on CentOS release 6.x/7.x or RHEL 6.x/7.x, we’ll use yum package manager. In this article, we’ll cover installing Git on CentOS, Ubuntu, and Windows operating systems. Linux Kernel, one of the popular open-source projects, is also hosted on a Git repository.

It allows you to keep track of your code changes, create different code branches, collaborate with other developers, to name a few.
