pub fn collect_diff(base: &str, head: &str) -> Result<DiffResult, String>
Collect git diff between base and head refs.