git command to update local repo code example
Example 1: how to update a local project from git
git pull origin master
Example 2: git remote add upstream
git remote add upstream GIT_DIR
git pull origin master
git remote add upstream GIT_DIR