terminal git pull code example Example 1: how to git pull origin master git pull origin Example 2: pull from a brrrnch in git $ git fetch origin other-branch