pub fn check_sha(sha: &str) -> Result<()>
A git object id: 40 (SHA-1) or 64 (SHA-256) lowercase hex. Checked before it goes into a URL or a git command line.