Preheat your oven to 375°F (190°C) and lightly grease a baking dish.
In a saucepan, melt the butter over medium heat. Add the minced garlic and cook for about 1 minute until fragrant.
Sprinkle the flour over the melted butter and garlic mixture. Stir well to combine and cook for another minute.
Gradually pour in the heavy cream while whisking continuously. Cook the mixture, stirring constantly, until it thickens and comes to a gentle simmer.
Remove the saucepan from the heat and season the sauce with salt and pepper according to your taste.
Arrange a layer of sliced potatoes at the bottom of the greased baking dish. Pour a portion of the creamy garlic sauce over the potatoes, spreading it evenly. Sprinkle a layer of grated cheese on top.
Repeat the layering process until you've used all the potatoes, sauce, and cheese. Ensure the top layer is covered with cheese.
Cover the baking dish with aluminum foil and place it in the preheated oven. Bake for about 45 minutes.
After 45 minutes, remove the foil and continue baking for another 15-20 minutes or until the top is golden brown and the potatoes are tender when pierced with a fork.
Once done, remove the potato bake from the oven and let it cool for a few minutes. Garnish with freshly chopped parsley if desired.
Serve the creamy garlic potato bake as a side dish alongside your favorite main course. Enjoy!
Note: You can customize this recipe by adding other ingredients like cooked bacon, sautéed onions, or chopped herbs to enhance the flavor. Feel free to experiment and make it your own!