Checkout origin/master, not just master.