Peel and clean the fresh ginger and garlic. Chop the ginger into 1 inch chunks.
Transfer them to a bowl of water and wash them well a couple of times to remove any dirt. Pat them dry.
Transfer them to a blender jar and blend until you get a slightly chunky paste.
Add oil or salt (or both) if needed, and blend again. Transfer to a glass jar.
Notes
Use the back of a spoon or the edge of a knife to scrape the skin of the ginger using backward motion. This is the easiest way to peel it without peeling off a lot of flesh too.
You can also add some salt to the ginger and garlic while blending it. Doing this is thought to help the mixture last longer, as salt is a natural preservative.
Another great trick to prevent spoilage and to help the paste last longer is to top it with a layer of oil once you've transferred it to a jar.
Make sure you clean the ginger and garlic well before you blend them together. Patting them dry is another important step you don't want to miss.