getDiff method
Implementation
Future<List<String>> getDiff() async {
final pr = await myRunGit(
['diff', '--name-only'],
processWorkingDir: directory,
);
return (pr.stdout as String)
.split('\n')
.where((row) => row.isNotEmpty)
.toList();
}