Cook the bacon in a large pot over medium heat until crispy, about 5-7 minutes.
Remove the bacon with a slotted spoon and let it drain on paper towels, leaving the fat in the pot.
Add the onion to the pot and sauté until translucent, about 4-5 minutes.
Stir in the minced garlic and cook for another minute until fragrant.
Pour in the chicken broth, and bring the mixture to a simmer.
Mix in the heavy cream and gnocchi, and cook until the gnocchi are tender, approximately 3-5 minutes.
Stir in the shredded cheddar cheese until melted and fully incorporated.
Return the crispy bacon to the soup, and season with salt and pepper to taste.
Serve hot, garnished with chopped green onions if desired.