Git Tutorial - Installation

Jinku Hu Jun 25, 2020 Jul 19, 2018
  1. What Is Git?
  2. Install Git
Git Tutorial - Installation

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
Author: Jinku Hu
Jinku Hu avatar Jinku Hu avatar

Founder of Jinku has worked in the robotics and automotive industries for over 8 years. He sharpened his coding skills when he needed to do the automatic testing, data collection from remote servers and report creation from the endurance test. He is from an electrical/electronics engineering background but has expanded his interest to embedded electronics, embedded programming and front-/back-end programming.