How can I convert this hard wired fixture to a plug in?
Green usually means ground, that it goes into the wire bundle may mean it grounds the lower part and the bare wire grounds the upper part (they are isolated from each other by the run).

Pigtail the bare and green together with the ground.