do initial checkout of branch to create it if it doesn't exist