Faça um ramo git existente uma ramificação remota

git branch -u upstream/foo
Darkstar