pub const MAX_REF_LEN: usize = 255;
Maximum lengths, chosen generously above any real git identifier while still bounding argv/memory size against a malicious caller.