Wikipedia
Greenshoe option is a special provision in an IPO prospectus, which allows underwriters to sell investors more shares than originally planned by the issuer. This would normally be done if the demand for a security issue proves higher than expected. Legally referred to as an over-allotment option. A greenshoe option (sometimes green shoe or "green-shoe", but must legally be called an "over-allotment option" in a prospectus) allows underwriters to short sell shares in a registered securities offering at the offering price. The greenshoe can vary in size and is customarily not more than 15% of the original number of shares offered.
The greenshoe option is popular because it is one of few SEC-permitted, risk-free means for an underwriter to stabilize the price of a new issue post-pricing. Issuers will sometimes not include a greenshoe option in a transaction when they have a specific objective for the proceeds of the offering and wish to avoid the possibility of raising more money than planned.
The term comes from the first company, Green Shoe Manufacturing (now called Stride Rite Corporation), to permit underwriters to use this practice in an IPO. The option was used by the underwriters of the Alibaba Group IPO in September 2014, making it the largest in history.