O shit is a way of saying "oh god wtf what the crap what the fucking god" or (2) "wow that just wow fucking wow'
Jim: Hey bruh I got a gf Me: O shit (2)