Peel 4 pounds of Yukon Gold potatoes and cut into even 2-inch chunks. Put in a large pot, cover with cold water by about 2 inches, and add 1 tablespoon of kosher salt. Bring to a boil over high heat, then reduce to a gentle simmer and cook for 18 to 20 minutes until tender when pierced with a fork. Drain, return to the hot pot, and set over low heat for about 1 minute to steam dry.
While the potatoes boil, cook 8 slices of bacon in a large skillet over medium heat until deeply crisp, about 8 to 10 minutes. Move to a paper-towel-lined plate, cool for 5 minutes, then crumble into small pieces and divide in half.
Add 8 ounces of softened cream cheese and 1/2 cup of butter pieces to the hot, dry potatoes. Mash with a potato masher or ricer until smooth, then stir in 1 cup of sour cream, 1/2 cup of warmed whole milk, 1 teaspoon of garlic powder, 1 teaspoon of kosher salt and 1/2 teaspoon of black pepper. Mash and fold until smooth and fluffy. Taste and adjust the salt.
Fold 1 cup of shredded sharp cheddar and half of the crumbled bacon gently into the mash. Butter a 9x13-inch (23x33 cm) baking dish generously, scrape the potatoes in, and smooth the top. To make ahead, cool completely, cover tightly with plastic wrap and foil, and refrigerate for up to 2 days.
Heat the oven to 350°F (175°C). Scatter the remaining 1 cup of cheddar and the remaining bacon over the top. Bake for 25 minutes until the cheese is melted and bubbling and the edges are golden. If baking from cold, cover with foil and bake for 35 to 40 minutes, then uncover for the last 10 minutes.
Let the casserole rest for 5 minutes. Scatter 4 sliced green onions over the top and serve straight from the dish.