Wash the spinach leaves extra carefully because they tend to have earth on them. Also wash the basil leaves.
Cook the garlic with a bit of olive oil on medium heat for about a minute stirring it constantly to remove its strong taste. Remove it from the pan and reserve.
On the same pan add extra olive oil and increase the heat to max.
Once hot, add the basil and spinach leaves all at once and immediately add about a teaspoon and a half of salt to them to help them stay intensely green. Mix and cook only a few seconds until everything is nice and soft. Be careful not to overcook them because they grow darker.
Remove from the pan without the liquid they released.
Put all the ingredients in the blender, squeezing the leaves before adding them. Blend until smooth and creamy.
Heat in a pan and mix with pasta cooked al dente.