how to sync your local git repo with github repo code example Example: how to update local repo when i make changes to github remote repo git pull origin master_or_other_branch_name