When you use the rebase command you will want to push to origin (the remote host ie GitHub or Bitbucket) either way once it is rebased, but the origin in front of means you are referring to the branch as it is remotely rather than what you have locally on your machine.