An abbreviation of the popular expression 'oh golly Moses'. Can also be 'oh golly me' for people who don't like the Moses version.
Person: Hey what does 'ogm' mean? Another person: It means 'oh golly Moses'Person: Oh cool thanks