'Create a new bare repository.
``path`` should already exist and be an empty directory.
:param path: Path to create bare repository in
:return: a `Repo` instance'

@classmethod
def init_bare(cls, path, mkdir=False):

    if mkdir:
        os.mkdir(path)
    return cls._init_maybe_bare(path, True)
