Using git status --porcelain which gives a backwards compatible output that's easy to parse