Future<String> getLocalBranchName(String root) => runCommand( root, 'git rev-parse --abbrev-ref HEAD', ).then((value) => value.first.stdout.toString().trim());