/// <summary> /// Equivalent to "git hash-object -w <file>" /// </summary> public static Id HashObject(object o) => new Id(ByteHelper.ComputeSha(o));