Installing Git on Windows
Go to the official site of Git and download the latest .exe Git installation file for Windows (64-bit Git for Windows Setup) as shown in the image below:
After downloading it, simply run the .exe file by double clicking on it and follow the installation wizard till it is complete. You can verify the installed version of Git by executing the following command on your terminal:
Installing Git on Ubuntu
Installing git on Ubuntu 20.04.1 or any other version of Ubuntu is simple. Open your terminal and execute the following commands one by one:
sudo apt-get update sudo apt-get install git sudo add-apt-repository ppa:git-core/ppa sudo apt update sudo apt install git
Installing Git on Mac OS
Go to the official site of Git to download and install Git on MacOs.