Question: what is the difference between clone and checkout?
Answer: What is the difference between git clone and checkout? git clone is to fetch your repositories from the remote git server. git checkout is to checkout your desired status of your repository (like branches or particular files). E.g., you are currently on master branch and you want to switch into develop branch.