update local repository with remote git code example
Example 1: git update remote origin
git remote set-url origin new.git.url/here
Example 2: how to update local repo when i make changes to github remote repo
git pull origin master_or_other_branch_name