how to add origin to existing git repo code example Example: github add new origin git init . git remote add origin <http/someURL> git pull origin master