Pulse the garlic cloves in the bowl of a food processor fitted with the metal blade until they are minced. Add the beet greens, walnuts, Parmesan, salt and pepper. Puree the mixture and while the motor is running, drizzle the olive oil through the feeder tube until the pesto is fully combined.
Store in an airtight container in the refrigerator.