Git is free and open source software for distributed version control: tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code during software development.
apt-get update
apt-get install git-core
git --version
git config --global user.name "jhon"
git config --global user.email "jhon@yourmail.com"