Begin by bringing a large pot of salted water to a boil. Add the spaghetti and cook according to the package instructions until al dente. Reserve about a cup of the pasta water, then drain the spaghetti in a colander.
While the spaghetti is cooking, heat the extra virgin olive oil in a large skillet over medium heat. Add the minced garlic and sauté for about 1-2 minutes, or until fragrant. Be careful not to burn the garlic, as it can turn bitter.
Stir in the red pepper flakes and Italian herb seasoning, allowing the spices to infuse the oil.
Add the fresh baby spinach to the skillet. Sauté for just a few minutes, until the spinach is wilted and tender. Season with salt and freshly ground black pepper.
Add the drained spaghetti to the skillet, tossing to combine it with the spinach and garlic mixture. If the pasta seems dry, gradually add some reserved pasta water until you achieve your desired consistency.
Remove the skillet from the heat and sprinkle the grated Pecorino cheese over the pasta. Toss again to ensure the cheese melts and coats the spaghetti evenly.
Plate the Spinach and Garlic Spaghetti with Pecorino, garnishing with additional cheese if desired. Serve immediately and enjoy the delightful flavors of this simple yet satisfying dish!