set use remote git code example
Example 1: git set origin
git remote -v
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Example 2: github add new origin
git init .
git remote add origin <http/someURL>
git pull origin master