5 lb. (2.5 kg) Yukon Gold potatoes, peeled and cut into 1-inch (2.5-cm) chunks
6 large garlic cloves, smashed
1 Tbs. chopped fresh thyme or 1 tsp. dried thyme, plus fresh thyme leaves for garnish (optional)
1 to 2 cups (8 to 16 fl. oz./250 to 500 ml) whole milk, warmed
1 cup (2 sticks) (8 oz./250 g) unsalted butter, melted
1/2 cup (4 oz./125 g) crème fraîche
1 Tbs. kosher salt
1 tsp. freshly ground pepper
Kosher salt and freshly ground pepper
Flaky sea salt