How do you get garlic to stick to green beans?
I'm going to guess that you're using fresh garlic, because I had that problem with another dish. I solved it by toasting my chopped fresh garlic for five minutes at 250°F on a pre-heated cookie sheet first lightly sprayed with Pam with Olive Oil. That way, it's dry on the outside (and thus more prone to sticking), but still moist and tender on the inside.