Several times, I have had conversations, all over instant messenger, finish with "word" or "Word up G".
As it ends a conversation, I am guessing it is like "goodbye".
My question is what is the meaning of "word" and "word up g"? Also, what is the origin?
I am more interested in the meaning as that will help with understanding its usage.

