Place a large Dutch oven or heavy soup pot over medium heat. Add the chopped bacon and cook for 8 to 10 minutes, stirring occasionally, until browned and crisp. Transfer the bacon to a paper towel-lined plate with a slotted spoon, leaving about 2 tablespoons of bacon fat in the pot.
Add the butter to the pot with the bacon fat. Stir in the diced onion and cook for 4 to 5 minutes until softened. Add the minced garlic and cook for 30 seconds, stirring constantly so it does not brown.
Sprinkle in the flour and stir well for 1 minute to coat the onions and form a light roux. Slowly pour in the chicken broth while stirring, scraping up any browned bits from the bottom of the pot. Pour in the milk and stir until smooth.
Add the diced potatoes, 1 teaspoon kosher salt, and 1/2 teaspoon black pepper. Increase the heat to medium-high and bring the soup to a gentle boil, then reduce the heat to medium-low. Cover partially and simmer for 18 to 20 minutes, stirring occasionally, until the potatoes are very tender.
Use a potato masher to mash some of the potatoes directly in the pot, leaving plenty of chunks for texture. Reduce the heat to low. Stir in the sour cream until fully incorporated.
Add 2 cups of the shredded cheddar cheese a handful at a time, stirring after each addition until melted and smooth. Taste the soup and adjust with more salt and black pepper if needed.
Ladle the hot soup into bowls. Top each serving with the reserved crisp bacon, the remaining 1/2 cup shredded cheddar cheese, and the sliced green onions. Add an extra spoonful of sour cream on top if desired, and serve immediately.