Git Branch Set Remote Tracking -Zweig
git branch --set-upstream-to=upstream/foo
git branch --set-upstream-to=upstream/foo foo
Evil Echidna
git branch --set-upstream-to=upstream/foo
git branch --set-upstream-to=upstream/foo foo
git branch -u upstream/foo