Git Clone
The git clone command is used to create a copy of a specific repository or branch within a repository. When you clone a repo you get a copy of the entire history of the repo. The command used for cloning any repository is:
git clone <repository-link>
For Example: If you want to clone the Bootstrap repository.
In the above image, It’s a Bootstrap repository and you want to clone it in your local system. For this, you have to use the link to clone this repository on your computer. First, you have to go inside the folder in which you want to clone the repository, for this use the cd command
After that, Clone the repository using git clone <repo-link>
Here the cloning process starts and it is in 14% progress and it continues until 100%.
When the process is complete, the bootstrap repo is added to your local computer inside the Git folder, you can now cd into the bootstrap repo and work accordingly.
If you want to terminate the process then press control C.
What is Git Clone?
Git Clone will make a copy of the existing git repository in the local machine. This means it will download all the files and directories which are available in the repository available in the remote repository. Git clone will make the repository online which will help us to test the new features before merging into the main or production branch.