git pull in a origin code example
Example 1: pull from master to local
git pull origin master:master
Example 2: what is git pull rebase
The content of your work tree should end up the same in both cases; you've just created a different history leading up to it.