git remote add origin https //github.com/ code example
Example 1: git set remote
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