Extracts common `Command::new("git").args(...).output()` logic into `run_git_command` to reduce duplication and improve readability in the `git` module. Co-authored-by: Claude <no-reply@anthropic.com>