CommitRef
Strategy for choosing the commit SHA used in generated source-browse links.
Rather than requiring an explicit commit string (which may go stale or point at an unpushed local commit), callers pick a resolution strategy and the tooling resolves it at generation time from the checkout's git state.