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