How to wire a ceiling light with 2 wires to ceiling with 3 wires?
The green is the ground wire.  If the work box is metal then the box itself should have a grounding screw and you should connect the green to that.  Otherwise you don't need to do anything with the green wire.