I have a branch of a public repository and I am trying to update my branch with the current commits from the original repository:
$ git fetch
To make origin/master the default branch for remote origin, and thus make git rebase origin work:
origin/master
origin
git rebase origin
$ echo "ref: refs/remotes/origin/master" > .git/refs/remotes/origin/HEAD