Well it just so happens I am black and I've been using the word most of my life.
Nigga is just "bro" or "dude" but exclusively used among black/minority communities. I realize the word nigga is A Big Deal for white people but really in our community it is used as casually as the word "like" in any given sentence. Interestingly I have even used it with black bosses before in a joking casual way.