git remote add origin https://github.com/user/repo.git code example
Example: github add new origin
git init .
git remote add origin <http/someURL>
git pull origin master
git init .
git remote add origin <http/someURL>
git pull origin master