SyntaxFix
Write A Post
Hire A Developer
Questions
With an up to date git (2.5.5) the command is the following :
git branch --set-upstream-to=origin/branch
This will update the remote tracked branch for your current local branch