def METHOD_NAME(path):
    """clone the gh-pages repo if we haven't already."""
    sh(f'git clone --branch gh-pages {pages_repo} {path} --depth 1')
    here = os.getcwd()
    cd(path)
    sh('git checkout gh-pages')
    cd(here)