git push --set-upstream origin <branch>
# checking the url of remotes
git remote -v
# add another url to git
git remote add upstream <url>
# now you can use
git pull upstream master (or other branch names)
upsteam is the standard name used, but you can change it if you want to
git remote add upstream GIT_DIR
git push --set-upstream <github repo url>