While spaghetti is cooking, place a large skillet on medium heat and add the extra virgin olive oil. When oil is hot, add the sliced garlic and sauté until golden, about 1-2 minutes.
Next, add the green beans and sauté for 5 minutes, mixing occasionally.
Next, add the cooked spaghetti, pasta water, salt, black pepper, and grated grated cheese.
Cook for 5 minutes, mixing occasionally.