How did Jews fake their religion or identity to stay out of the camps?

Faking one's religion was not easy. Anyone suspected of being a Jew had to prove that they were not Jewish - usually by producing certificates of (infant) baptism for all four grandparents. Please have a look at the related question.