Git push local branch to another repository
Add another repository to another origin, for example, call it other_origin
git remote add other_origin git@bitbucket.org:somebody/someproject.git
Now suppose that somebody/someproject.git
currently has no branch named some_local_branch
that we have in local repo. We can push a local branch to new remote:
git push other_origin some_local_branch