For 1.6.x, it'sit can be done using the git_remote_branch tool:
grb track foo upstream
grb track foo upstream
That will cause Git to make foofoo
track upstream/foo
p.supstream/foo
.
all thanks to floehopper, I just thought to show exact command to fit this question ;)