"Nigga" is a controversial word which evolved from the derogative term "nigger".
Tupac best defined the distinction between the two.
NIGGER - a black man with a slavery chain around his neck.
NIGGA - a black man with a gold chain on his neck about to drive off in his paid new Lexus.
Tupac defined the word best if you ask me. - ISR