Bake the garlic (as whole) in the oven at 190°C. Set aside to let it cool.
Cut the sweet potatoes into small cubes, chop the onions.
Heat some oil in a large pan and gently sauté the onion. Add the sweet potatoes, cook for a few minutes then add the stock Bring to the boil, cover and simmer for 10 minutes.
Press the garlic flesh out of the skin and chop the green beans. Add these to the soup and cook for another 10 minutes until the sweet potato is soft.
Set aside 2 Tbsp of the green beans, then using a stick-blender, process the soup until you get a smooth, velvety soup.
Season with salt, pepper, and add the reserved beans.
Serve with the chopped chives and a dollop of Greek yogurt, if liked.