DManager.prepareRepo

Prepare the checkout and initialize the repository. Clone if necessary, checkout master, optionally update.

Meta