git pull remote branch and merge with local code example Example: git fetch remote branch git checkout --track origin/branch_name