A few links to point out:
http://en.wikipedia.org/wiki/Matroska
http://en.wikipedia.org/wiki/OGM
http://en.wikipedia.org/wiki/Comparison_of_container_formats
From http://en.wikipedia.org/wiki/OGM:
Basically, OGM is just a quick and dirty hack of the OGG audio format that supports OGG...