git's id of a blob holding exactly bytes: the hex SHA-1 of blob <size>\0<bytes>, where size is the byte count in decimal. No conversion is applied, so the id is that of the bytes as they are, which is what a raw check compares with the tree's entry.
bytes
blob <size>\0<bytes>
git's id of a blob holding exactly
bytes: the hex SHA-1 ofblob <size>\0<bytes>, where size is the byte count in decimal. No conversion is applied, so the id is that of the bytes as they are, which is what a raw check compares with the tree's entry.