Melt butter in a skillet with a lid over medium-low heat. Add onion; cook and stir until onion is translucent, about 5 minutes. Stir in cooked bacon, green beans, potatoes, garlic, and chicken broth. Bring to a boil, cover, and simmer over low heat until green beans are tender, about 10 minutes.