Function collect_git_info
Source pub fn collect_git_info(cwd: &Path) -> Result<GitInfo>
Expand description
Collect all git information for a workspace.
§Arguments
cwd - The working directory to collect git info from
§Returns
A GitInfo struct containing remote URLs, HEAD commit hash, and repo root.
Returns default GitInfo if not in a git repository.