Python script that checks the current status of a git repository for use in a build chain.