Articles → Git → GIT Clone Command In GIT
GIT Clone Command In GIT
Purpose
Syntax
git clone <URL of repository>
Example
Click to Enlarge
Difference Between Clone And Pull
- clone command is used to get the copy of the repository for the first time whereas pull command is used to get the new updates in the repository.
- You need to initialize the repository for using the pull command. But you can use the clone command without initializing the repository.