Question: what is the difference between rebase and pull?
Answer: Generally this is done by merging, i.e. the local changes are merged into the remote changes. So git pull is similar to git fetch & git merge . Rebasing is an alternative to merging. Instead of creating a new commit that combines the two branches, it moves the commits of one of the branches on top of the other.