Foil around the top taped to PVC that goes into the enclosure, but it will be COLD, so make sure to watch your temps or push it into the substrate through a heating mat
You can buy a larger tortoise or use blood typing, but that is of course somewhat pricey. When they are small there is no way to know for sure and most sites/breeders state quite clearly that they cannot guarantee the gender of juveniles.