Rephrasing the question : how to configure a remote git repository as new branch of an existing local repository whose single branch is already linked to a different remote repository.
I have two git repositories(projects) hosted on two different sites (github and an intranet site).
They are similar to each other since they started from the same base folder. I want to combine these two projects into one single git project such that
- local branch "master" points to github repo's "master" branch
- local branch "intranet_branch" points to intranet site repo's "master" branch