command line update repo code example Example: git update local repo from master git pull origin master