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
Windows
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.
Linux
Use apt-get
to install and/or update git.
sudo apt-get install git
Founder of DelftStack.com. 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.
LinkedIn Facebook