git branch --set-upstream-to=origin/<branch> visionary
eg:
git branch --set-upstream-to=origin/master mybranch