I want to check if there are uncommited changes, or if there are unpushed commits in a git repository with python.
I could use subprocess, but a library would be better.
On pypi are several libraries with different quality. At the moment I don't know which one to choose.