Rinse the moong dal in a fine-mesh sieve under cold water until the water runs clear.
Drain well, place it in a deep saucepan with 6⅓ cups / 1.5 liters of water.
Bring the dal to a boil over high heat, then reduce the heat to low, cover partially, and let it simmer for 30 to 40 minutes, or until the lentils are completely soft and tender.
While the dal cooks, prepare the tadka.
Heat the ghee or butter in a separate frying pan over medium heat.
Once hot, add the cumin seeds and let them sizzle for about 30 seconds.
Add the finely sliced shallots to the pan and cook for about 5 minutes, stirring occasionally, until they soften and become translucent.
Stir in the green chiles and crushed garlic.
Continue to cook for another 5 minutes, until the shallots begin to turn golden brown at the edges.
Add the ground turmeric and garam masala to the pan.
Cook for one more minute, stirring constantly, until the spices are fragrant.
Carefully pour the hot tadka mixture into the cooked dal.
Stir everything together to combine, then add the salt.
Check the consistency. If the dal is too thick, add a splash of hot water until it reaches your desired thickness.
Taste and adjust the salt if needed.
Serve hot with basmati rice or naan.
Don't rush the browning of the shallots. Allowing them to caramelize properly builds a deep, savory flavor base for the entire dish.