Wash the eggplant and pat it dry. Make 2 or 3 small slits in it with a knife so it does not burst on the flame.
Place the eggplant directly on a medium gas flame. Roast for 12 to 15 minutes, turning it every few minutes with tongs, until the skin is completely charred and the eggplant is soft and collapsed all over. The stem end should feel soft when pressed.
Put the roasted eggplant in a bowl, cover it for 5 minutes so the steam loosens the skin, then peel off all the burnt skin. Remove the stem.
Place the eggplant flesh on a plate and mash it well with a fork. Drain any watery juice so the bharta does not become runny.
In a bowl, whisk the yogurt until smooth. Crush the green chillies, 3 garlic cloves, cumin seeds and salt together into a coarse paste (in a mortar or small grinder) and mix it into the yogurt.
Add the mashed eggplant, tomato, onion and most of the coriander to the yogurt and mix well. Spread it in a serving bowl.
For the tarka, heat the oil in a small pan on medium heat. Add the sliced garlic and fry until light golden, then add the whole red chillies for a few seconds until they darken slightly.
Pour the hot tarka over the bharta right away, sprinkle the remaining coriander and serve with roti, paratha or as a side with rice.