Question: what is the difference between fetch and clone in git?
Answer: When you clone a repository you fetch the entire repository to you local host. ... If you do a git fetch it will just fetch all the changes in the remote repository (GitHub) and move the origin/master pointer to HEAD . Meanwhile your local branch master will keep pointing to where it has.