call git as subprocess instead of using the git python API