Use origin to compare so it is not dependent on checking out the branch before.