Question: how to apply for social security for green card holder?
Answer: You can apply for a Green Card along with the Visa application before coming to the US. ... 
if you do not apply for a SSN with your visa then go to the SSN office to apply for a card.