Installing Git on Linux ( Ubuntu, Debian )
Installing Git on Linux Ubuntu / Debian:
Git is an essential tool for all developer. In this tutorial, We will look at Installing Git on Linux.
Git is available from the official ubuntu Repositories. So we can directly install in using apt-get. Please use the following command to install Git.
1 |
apt-get install git |
Sample Output:
Cloning a repository using Git:
Please use the following command to clone any git repository.
1 |
git clone https://github.com/OpenSIPS/opensips.git |
Above clone command will create a local copy of the given git repository.
To learn more about the process of Cloning, Checkout and Commit flow, Look at the following Introduction to git tutorial.