download git code example

Example 1: install git ubuntu

$ sudo apt install git

Example 2: install git

# On Windows 10 
 https://git-scm.com/download/win

# Installing on Linux
sudo dnf install git-all

# on a Debian-based distribution, such as Ubuntu, try apt:
sudo apt install git-all

# On Mac
https://git-scm.com/download/mac

Example 3: download git for mac

$ brew install git

Example 4: download git for windows

Downloading git setup.exe 32 bit -version copy the link below 
https://github.com/git-for-windows/git/releases/download/v2.31.1.windows.1/Git-2.31.1-32-bit.exe

Downloading git setup.exe 64 bit version -version copy the link below 
https://github.com/git-for-windows/git/releases/download/v2.31.1.windows.1/Git-2.31.1-64-bit.exe

Downloading git portable -version 32 bit copy the link below
https://github.com/git-for-windows/git/releases/download/v2.31.1.windows.1/PortableGit-2.31.1-32-bit.7z.exe

Downloading git portable -version 64 bit copy the link below
https://github.com/git-for-windows/git/releases/download/v2.31.1.windows.1/PortableGit-2.31.1-64-bit.7z.exe

Example 5: git mac

xcode-select --install

Example 6: git bash mac

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/fabriziocucci/git-bash-for-mac/master/install.sh)"

Tags:

Misc Example