Khatta mag is whole green moong cooked soft and then simmered in sour dahi thickened with a little besan, something between a dal and a kadhi. Mag is the Gujarati word for moong, and many Gujarati families cook moong on Wednesdays as a matter of habit. It is everyday food, thin enough to pour over rice and good with rotli too.
At home it is quick once the moong is soaked: pressure cook the moong, whisk sour dahi with besan, chilli powder and turmeric, and bring the two together over a tempering of mustard seeds, curry leaves and hing. This is Tarla Dalal's Gujarati recipe, with one cup of moong and one cup of sour dahi for four people.