My usual workflow when working with git, is something like this:
The --set-upstream flag is deprecated and will be removed.
git branch master --set-upstream-to myupstream/master