pub fn git_snapshot_ref(operation_id: &str) -> Result<String, SourceError>
Derive the only allowed Git snapshot ref for an operation.
Returns an error when the operation is not one safe Git-ref path segment.