git pull without checkout
# updates local master with changes from remote
git fetch origin master:master
Are there any code examples left?
New code examples in category Shell/Bash
# updates local master with changes from remote
git fetch origin master:master