Take a mixer grinder, and add the garlic, dry red chili, turmeric powder, chopped coconut, coriander powder, red chili powder, and water. Grind to a fine paste. Now, heat oil in a pan. Add the ginger, curry leaves, and green chilies, and saute till fragrant. This will take about 1-2 minutes.