Git clone command is used when you are trying to download a project from an existing remote repository. Once the git clone command is successfully executed you will have a copy of the repository in your machine.
The below command will clone the remote git repository and the name of the directory will be the same as the repository name.
Syntax:
$ git clone <repository>
Example:
$ git clone https://github.com/username/myproject.git
And now you can navigate in the cloned directory on you local.
Top comments (0)