Place the garlic and basil in a food processor or blender and pulse until everything is roughly chopped. Add the oil and pepper and process, scraping down the sides, part way through, until everything is well blended. If it is very thick, add a bit more olive oil. Add the cheese and pulse until blended in. Taste and add salt if needed.