GitPython version - 3.1.46
Python version - 3.13.9
Basically the following fails
import shutil
from git import repo
repo = Repo("some_url", "some_directory")
print(repo.head.commit.hexsha)
shutil.rmtree("some_directory")
Getting an error shutils rmtree failed and was not able to the delete the .git inside "some_directory"