Fix mkdirp internal helper
Add example for creating a new repo