Git Tutorial - Installation

  1. What Is Git?
  2. Install Git

What Is Git?

Git is the most widely used version control system. It is an open source program originally developed by Linus Torvalds (creater of Linux OS) in 2005.

Git is an distributed version control system that every developer has the working copy of the code that also contains the full history of all changes. Developer could commit his/her work locally, and then push the repository to the remote server. It differs from centralized version control like SVN where users must synchronize files with a centralized server before applying changes.

Install Git


Download the Git installation file and install it. You could check whether it is successfully installed by checking the git version either from the command prompt or PowerShell.

If you type

git --version

It will print the git version like git version 1.9.x.msysgit.0 if git is installed.


Use apt-get to install and/or update git.

sudo apt-get install git
DelftStack is a collective effort contributed by software geeks like you. If you like the article and would like to contribute to DelftStack by writing paid articles, you can check the write for us page.