Meanwhile, in a large pot over medium heat, heat oil. Add onion and 2 chopped garlic cloves, season with salt and pepper. Cook, stirring occasionally, until onions turn translucent, 5 to 6 minutes. Add bell pepper and cook, stirring occasionally, until softened, about 6 minutes. Transfer onion mixture to a large bowl.