Growing garlic is more than just planting it. You have to keep trimming it so the additional cloves will form. After harvesting, you need to hang it in an airy dry place to cure for about two weeks. This allows the allicin to concentrate and the papery protective skin to form around the bulb. All this to say, you're probably better off buying garlic, as it is cheap, and growing something else.
And mint. In fact, getting mint to stop growing is a bigger problem. My grandmother grew mint in her garden in a kitchen sink she buried in the ground so it wouldn't escape.
Bamboo is actually illegal in the city where my mom lives. She has some in a brick box along one of the borders of her house that were planted back before she bought the place and before the law, and a city inspector had to come out and make sure it was safe to grandfather them in. Which it is because the box would have to break for them to escape.
Chives grow like weeds and whenever you need some just go out in the yard with scissors and give them a haircut. They grow back in a week or two, unless they’re under a foot or two of snow 6 months of the year. Which is where my farming desires end.
You only have to cut the scapes once per season (and it doesn't cause additional cloves to form, it just makes the existing ones bigger since it's not putting energy into trying to flower). Growing hard neck garlic is easy and you get awesome garlic out of it, way better than lame ass grocery store soft neck garlic with a million cloves the size of a grain of sand (obvious hyperbole but still). Plus garlic scapes are delicious stir fried.