Blend the garlic, ginger and vinegar to a fine paste. When doing so you might want to work in batches or your blender will get overloaded. Do not add any water because that will reduce the shelf life of the paste.
Store the smooth paste in a clean jar and keep in the fridge for further use.