Linux

RPM based:

sudo dnf install git-all

Debian based:

sudo apt install git-all

 

Mac 

Dowload from: https://git-scm.com/download/mac

 

Windows

Dowload from: https://git-scm.com/download/win

 

Source: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git