Reduce the heat to medium and add garlic to the pan, cooking until it is fragrant (about 30-45 seconds). Add tomatoes (in their juice), oregano, basil and a pinch of salt. Bring the mixture to a simmer and cook it for about 15 minutes, or until it slightly thickens.