late Old English, "green color or pigment, spectral color between blue and yellow;" also "a field, grassy place; green garments; green foliage," from green (adj.). Specific sense "piece of grassland in a village belonging to the community" is by late 15c. In golf, "the putting portion of the links" by 1849. Symbolic of inconstancy since late 14c., perhaps because in nature it changes or fades. Also symbolic of envy and jealousy since Middle English. Shakespeare's green-eyed monster of "Othello" sees all through eyes tinged with jealousy. "Greensleeves," ballad of an inconstant lady-love, is from 1570s. The color of the cloth in royal counting houses from late 14c., later the color of the cloth on gambling tables.
word-forming element making nouns meaning "place for, art of, condition of, quantity of," from Middle English -erie, from Latin -arius (see -ary). Also sometimes in modern colloquial use "the collectivity of" or "an example of."
Others are reading
<a href="https://www.etymonline.com/word/greenery">Etymology of greenery by etymonline</a>
Harper, D. (n.d.). Etymology of greenery. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/greenery