update git provider to handle checking out into an existing (empty) dir