git update repository from remote code example
Example 1: how to update a local project from git
git pull origin master
Example 2: how to update local repo when i make changes to github remote repo
git pull origin master_or_other_branch_name
git pull origin master
git pull origin master_or_other_branch_name