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
-
Go to the latest Git Windows installer and download the latest version.
-
Follow the instructions as provided by the installer wizard.
-
Open the windows command prompt.
-
Type
git version
to verify Git was installed.