ensure_bare_repo will need to be a public command