Git Installation Using Command Line

Git is intended to run on unix-style system like Linux and MacOS.

First, check to see if git already installed on your system using the command git --version . If it is not installed then follow the below steps:


Git installation on MacOS

download the latest Git installer package using the link

Verify the installation by running git --version again.


Git installation on Windows

Git Bash emulates the unix based Git command-line experience for Windows machine. Download Git for Windows using the link

Find the downloaded .exe file and install it. After successfully installation open git-bash from start-menu.

Verify the installation by running git --version again.