Fix branch setup after initial clone.