We\'re working with a semi-centralized git repository here where I work. Each developer has their own subtree in the central git repository, so it looks something like this:
Use
git branch --set-upstream-to=origin/remoteBranch localBranch