pub fn auto_commit_if_dirty( repo: &Path, message: &str, timeout: Duration, ) -> Result<bool, GitError>