Installation of Git

Installing Git on Windows

Step 1 : Download Git for windows

  • Go to https://git-scm.com/downloads/win

  • Select the package suitable for your system

Step 2 : Run the Installer

  • Open the downloaded .exe file .

  • Click Next through the steps, and choose recommended options:

Step 3 : Finish Installation

  • After installation , open Git Bash or Command Prompt

  • verify installation:

git --version

Installing Git on Linux

Step 1: Update your Package lists:

sudo apt update

Do you know ?: you don't need to use sudo command, if you are a root user.

Step 2 : Install Git:

sudo apt install git

Step 3 : Verify installation:

git --version

Last updated