Advertisement



http://addurl.nu Earn Money By single click $20
Follow Blog
Follow Blog
Legitimate URL Shortener that Pays Earn Money Shortening URLs

Grab Great Amazon deals here:

Friday 19 October 2018

How to Install Git on Linux, Mac or Windows

Git was designed and developed by Linus Torvalds for Linux kernel development. Git provides support for non-linear, distributed development, allowing multiple contributors to work on a project simultaneously. Git is the most popular distributed version control and source code management system. This guide explains how to install the latest, stable, prepackaged version git on GNU/Linux, Mac Osx, and Windows, using their respective package managers. Git can also be compiled from source and installed on any operating system.

Let's Get Started:

    Install Git on Linux

  • Debian and Ubuntu:

                sudo apt-get install git

  • CentOS:

          sudo yum install git

  • Fedora:
                sudo yum install git-core     


Install Git on Windows  

 To install Git on Windows OS, first you have to install latest Git installer package from their website.

Install Git on Mac OS

There are different ways to install Git on Mac OS. You can install Git using Homebrew, Macports, or by downloading the Git installer package.

By using Homebrew:

First install Homebrew if you don't have in your system. After that use this below command:
  • brew update 
  • brew install git 
By using Git installer package:
  • Go to the Git website and download the current installer package for your system.
  • Double click on the downloaded file to begin the install.
  • Click on the Continue button to begin the install.
  • Choose location and install software.