Getting started with git

Step to step tutorial for 'How to get started with git?'

May 26, 2018 - 1 minute read -
code dev-tools tutorial

Introduction

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.

Installation

ubuntu/linux

  • Open terminal/shell and type:
    $ sudo apt-get install git
    
  • Verify the installation by checking git version, type in terminal/shell:

    $ git --version
    

mac

  • Git comes pre-installed with mac but you can always upgrade git to latest by downloading from git

  • Or If you are terminal lover then you can install it using Homebrew. (Note: homebrew need to be installed).
    $ brew install git
    
  • Verify the installation by checking git version, type in terminal:
    $ git --version
    

If you have installed Homebrew to manage packages on OS X, you can follow these instructions to install Git:

windows

  • Download git from git and install it.