Finely chop the spinach - I like to run my spinach and green chilies through a mini food processor.
Heat a pan with 2 teaspoons or so of oil, add your garlic clove and chili flakes, saute for 30 seconds
Add your spinach/green chilies and cook for 4-5 minutes on medium high heat until the spinach wilts and the excess water evaporates. Transfer it to a bowl.
Wait 2-3 minutes for the mix to cool and then add in your yoghurt, mix it well to smooth out lumps, and then adjust consistency and seasoning.
Heat oil for the baghaar, add the curry leaves, cumin seeds, garlic, and chilies and saute on medium heat until the garlic is golden and pour over the raita. Keeps well for 3-4 days.