Place the garlic and basil in the bowl of a food processor. With the motor running, slowly drizzle in the oil through the feed tube, and process until the basil is puréed.
Transfer the pesto to a bowl and stir in the salt and pepper. Refrigerate, covered, until ready to use. This keeps in the refrigerator for 2 to 3 days.