If you don't have files to add, you can also do the following
[code]
git branch --unset-upstream
get push --set-upstream origin master
[/code]
Works for me using BitBucket