Marinate the chicken pieces in curd, red chilli powder, turmeric powder, and salt for 30 minutes. Heat oil and add the whole garam masala. When they pop and sizzle, add the sliced onions and green chilies. Reduce flame to medium-low and fry the onions until they turn golden brown.