I was wondering, did you download the manual ? There you should be able to find the wiring diagram for your ciao.
In my case I had to look at page 21. (but there's no green wire, so yours probably is different.) I'm pretty sure that black is ground though.