Question: what is the difference between git pull and git checkout?
Answer: 1 Answer. git pull contacts the remote repository identified by origin and looks for updates. It fetches any updates and then merges the changes into the target branch. ... git checkout -b <branch> origin/<branch> creates a new branch based on origin/<branch> , and does not contact the remote repository.