⊗gtPmRmRC 65 of 65 menu

Cloning an Remote Git Repository

Projects hosted on GitHub can be cloned. This means that you can pull all the code of this project. This can be either your project or someone else's. After cloning, you will be able to make changes to this project on your local network.

To clone, you need to have a link to the project. Let's say you have this link. In this case, you can clone the project to yourself using the clone command, followed by the link to the project:

git clone https://github.com/some-project

At the beginning of the cloning process, an empty directory with the name of your project is created, then a repository .git is initialized in it. All files from the original project are copied into it.

If we want the name of our clone to be different from the name of the original folder, then we add a new name at the end of the command:

git clone https://github.com/some-project my-project

Clone your test project hosted on GitHub into a new folder.

enru