Future<bool> isWorkingTreeClean() => runCommand(['status', '--porcelain']) .then((pr) => (pr.stdout as String).isEmpty);