Future<String> getCurrentBranchName() async { final result = await Process.run("git", ['branch', '--show-current']); return result.stdout.trim().toString(); }