How to Install git

Linux

Install it using your favorite package manager.

Debian / Ubuntu (apt)

sudo apt-get install git-all

Fedora (dnf)

sudo dnf install git

Arch (pacman)

sudo pacman -S git

For other Linux distros you can use the same name for the package git-all

MacOS

MacOS will already have git installed by default.

Windows

  1. Go to the latest Git Windows installer and download the latest version.

  2. Follow the instructions as provided by the installer wizard.

  3. Open the windows command prompt.

  4. Type git version to verify Git was installed.