Preheat your oven to 375°F (190°C). Grease a casserole dish with butter or cooking spray.
In a mixing bowl, combine the heavy cream, minced garlic, dried thyme, salt, and black pepper. Whisk until well combined.
Arrange a single layer of sliced potatoes in the bottom of the greased casserole dish. Sprinkle some shredded cheddar cheese over the potatoes, and then pour a small amount of the cream mixture over the cheese. Repeat this layering process until all the potatoes and cheese are used, finishing with a layer of cheese on top.
Cover the casserole dish with aluminum foil and bake in the preheated oven for 45 minutes.
After 45 minutes, remove the foil and continue baking for an additional 30 minutes, or until the potatoes are tender and the top is golden brown and bubbly.
Once done, remove the potato bake from the oven and let it rest for a few minutes before serving. Garnish with chopped fresh herbs, if desired.
Serve the creamy and cheesy potato bake as a side dish or a satisfying main course. Enjoy the delicious combination of creamy potatoes and cheesy goodness.