how to update a repository local code example
Example 1: update git repo local
git pull origin master
Example 2: how to update a local git repository
git pull origin my_default_branch_name
git pull origin master
git pull origin my_default_branch_name