git update main branch from repo code example Example: git update local repo from master git pull origin master