How to Install Git on Linux, Mac and windows

git Coding Villa

“Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.”

Git allows you to keep track of your software at the source level. Before start using git, you have to install it to your system.

In this guide, we will demonstrate how to install git on Linux, Mac and Window-based systems.

Installing on Linux System

It is easiest to install Git on a Linux based system.

First update your system using update command(If already up-to-date, you can skip this step)

$ sudo apt-get update

If you are using a Debian based system(like Ubuntu) you can use apt-get to install git

$ sudo apt-get install git-all

And if you are using a Fedora system you can use yum

$ sudo yum install git-all

Installing on Mac

There are several ways to install Git on a Mac. OS X comes with a fairly old version of Git pre-installed, so we want to make sure that your terminal is using a more updated version. Download the latest version of gitto install it on your system.

When it’s done downloading, open the DMG package and run the package installer.

After successful installation, you can check version of git using-

Installing on Windows

You can Download git for windows from here. Just click on that link and download will start automatically.

After completion of download Click on the downloaded executable to start the install process and follow the instruction.

About Author

Leave a Reply

Your email address will not be published. Required fields are marked *

PAGE TOP
error

Enjoy this blog? Please spread the word :)

RSS
Follow by Email