2015 October

Git is GPL version control system used primarily for distributed development of projects, even ones with large amounts of data. The important part here is Version Control System — it means that it’s a software that track changes in files and compare different versions, and do many other nice things, like going back to previous versions of a certain file. Every working directory in Git is a full-fledged repository which has a complete history. Therefore in git one can work without a network connection and sync his/her changes when the network is there.

Requirements

Following items are required for this tutorial:

A server or VPS running Debian 8

A root or sudo user account

Installing Git

Before you install Git, make sure that your system is updated by executing the following command:

1

2

sudo apt-get update

sudo apt-get upgrade

Now install Git with following apt-get command:

1

sudo apt-get install git-core

This is the only command that is needed to install Git. The next step is to configure Git.