COmes from "A man's word is his bond."
Which changed to "word is bond" then "word."
It is used to question and to agree.
"Yo, I got a new job."
Word?
As in: "are you telling the truth?"
And "is it true that you got a case of beer?"
Word....
As in: absolutely, I'd not joke/lie/ et cetera.