git fetch branch locally code example Example: fetch a particular branch git git fetch origin branch-name