git update my copy to remote before push code example Example: how to update local repo when i make changes to github remote repo git pull origin master_or_other_branch_name