The hash is known as hash object because the whole git system is based on objects
It's also called an extended SHA-1 syntax.
Where is the Git Hash function ?
The function is available via the hash-object command
Example for a blob
echo 'test content' | git hash-object -w --stdin