Where is it growing? Is it in your pots or in your grass. They are hardy, so don't need special treatment. As long as it's in full sun and the soil is reasonably free draining, they will do fine.
I would keep it. If it is that plant, they can go on flowering for a long time all through summer. You can cut the flower-heads down to stop them self seeding. All edible too.
I think that's a different type of wild garlic. Garlic Chives are a different ball game. I planted mine intentionally and they don't spread - I wish they did. The flower heads are lovely to put in salads.
Posts
if it’s in the grass like PP’s I don’t suppose it matters as you can keep mowing it off.