Heat oil in a pan
Add brown onions and ginger-garlic paste to it and cook until they are brown
Add tomatoes, sugar, salt, chilli powder and garam masala and cook to a thick consistency
Add vinegar and simmer for about 5 minutes
When cool, pack in an airtight clean jar and store