@classmethod
    def init_bare(self, path, mkdir=True, **kwargs):

        if mkdir and not os.path.exists(path):
            os.makedirs(path, 0755)

        git = Git(path)
        output = git.init('--bare', **kwargs)
        return Repo(path)
Test not escaping a 'salt://' URL on windows
dataset/ETHPy150Open kergoth/git-origin/git-python/lib/git/repo.py/Repo.init_bare--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/utils/url_test.py/UrlTestCase.test_escape_windows