Git installation documentation

1. Install git

Options :

1.1 Install git using apt (Debian, Ubuntu)

$ sudo apt install git

1.2 Install git using brew (Linux, Mac)

$ brew install git

1.3 Install git using pkg (OpenBSD)

$ doas pkg_add git

1.4 Install git from sources

Download sources from https://github.com/git/git/tags

$ tar xzf git-*.tar.gz
$ cd git-*
$ make
$ sudo make install

1.5 Install git from binaries (Linux, Mac, Windows)

Please see https://git-scm.com/downloads.

2. Links

If you need more help with git, please see :