you need to specify your question since you can extract water soluble compounds like the sulphurous amino acid alliin, or lipid soluble compound from mashed garlic like alliciin. Water soluble amino acids can be extracted with water/ethanol, lipid soluble compounds (i.e. aged garlic oil) with hexane (chloroform is not ecofriendly).
I recommend the extraction method used by Stoll and Seebeck (Helv. Chim. Acta 1948, 31, 189-210) In brief, a mixture made of methanol, chloroform and 0.1 N HCl is cooled down to -50C and blended for 5 min. Here the enzymes were inactivated. Filtration with a glas filter G3.Zentrifugation and phase separation. Extraction if the waterphase with diethylether to get rid of the lipids. Zentrifugation and phase separation. Then precipitation of the amino acids with ethanol.
We extracted indutrially the alliin and the allicin with rapseed oil. During extraction the allin was converted to allicin enzymatically. The oily extraxts were standardised to 0,1% allicin.