git pull code from branch code example Example 1: how to pull from a particular branch in git git pull origin Example 2: how to git pull origin master git pull origin