Git Version control systems allow you to keep track of your software at the source level. You can track changes, revert to previous stages, and branch to create alternate versions of files and directories.
Install Git with Apt
Before we start installing the Git with apt, please login as a non-root user in your Ubuntu 14.04 LTS.
Update your local package index by using Apt package management tools