This article covers steps to install and configure Git on a Debian 10 server. As one of the most popular version control systems currently available, Git is a common choice among open-source and other collaborative software projects. Many project's files are maintained in a Git repository, and sites like GitHub, GitLab, and Bitbucket help to facilitate software development project sharing and collaboration.
How to install Git on Debian / Ubuntu Linux System ?
1. Use the apt package management tools to update your local package index and then download and install Git:
$ sudo apt update
$ sudo apt install git
2. You can confirm that you have installed Git correctly by running the following command:
$ git --version