git push branch to another remote repository 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 local branch to Remote
git push origin <Branch_Name>