Place the garlic in a food processor* and process until it’s finely chopped. Add the mayonnaise, basil, salt and pepper.
Process until smooth. Leftovers keep for up to 1 week in an airtight container in the refrigerator.