#from git import Repo #repo = #Repo.clone_from('https://tracinginsights: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@github.com/TracingInsights/Charts.git', 'tracinginsights/F1-analysis', #no_checkout=True) import pygit2 import os current_working_directory = os.getcwd() path = os.path.join(current_working_directory , 'streamlit') os.mkdir(path) pygit2.clone_repository(GITHUB, path )