nigga is like a word for a close friend, brother. It's always misunderstood the word nigger, a contemptuous term for a black or dark-skinned person.
person 1:"Yoo whatup my nigga. How's shit?" person 2:"Nothin' much homie"