push code to specific repo code example
Example 1: how to push code to another remote git repository
git remote rename origin upstream
git remote add origin URL_TO_GITHUB_REPO
git push origin master
Example 2: github push code from one repo to another
cd rhq
git push https://github.com/user/example master:master