DEV Community

Cover image for Installing GIT on your system
Aadityasiva
Aadityasiva

Posted on

Installing GIT on your system

Okay so now I think that you know what is GIT and why it is used if you don't know I recommend reading my previous post

Installing

For Windows:

First head over to https://git-scm.com/download/win/ this will start the download of the latest version of GIT. After the file is downloaded follow these steps.

Step 1

file-img ☝ Locate and open this file after download

Step 2

alt text
Agree to the license after reading it

Step 3

alt text
Choose the Let GIT decide Option

Step 4

Now press next and continue with the installer and your good to go.

For Linux

For Linux there are different methods for different distributions so head over to https://git-scm.com/download/linux/ and do the steps given there for your distro of Linux.

For macOS

Step 1

Install homebrew from here https://brew.sh/

Step 2

run this

brew install git
Enter fullscreen mode Exit fullscreen mode

Testing the installation

To test if it is installed properly run this

git --version
Enter fullscreen mode Exit fullscreen mode

If it is printing the version then Congrats !!🎉🎊🥳 it is installed successfully.

So I am ending this post here bye and have a nice day!
Any queries ask me in the discussions

Top comments (1)

Collapse
 
programmeraadi profile image
hmmmmmmcoder

Nice