DEV Community

Discussion on: Understanding Git: A Beginner's Guide to Version Control (With Visuals)

Collapse
 
jitendrachoudhary profile image
Jitendra Choudhary

Done with reading the article. It's quiz time. Can you answer what is the difference between git pull and git clone?
As both of the commands update the local repository.

Collapse
 
error772169694412f6f profile image
NonStop7721

git clone is the command that created a copy of the entire project from the main branch to local branch.

we use git pull when we already have the project, and we just want to update the newest version from main branch to our branch.

Collapse
 
jitendrachoudhary profile image
Jitendra Choudhary

Well explained 👏