I am using GitPython from git import Repo r=Repo(url) repo_heads=r.heads I got git.Head "ref/head/dev" what should I changet to get the list of branches,"main",""dev"...? Continue reading...