This script I\'ve created on my local windows machine works fine.
import git repo = C:/user/folder/repo g = git.cmd.Git(repo) g.execute("git config --get