 When resting they often are to be found in trees hence the name "tree snake".Frogs, water skinks, and small reptiles and their eggs form a large part of the common tree snake's diet, but it will also eat small fish, mammals, geckos, and turtle hatchlings.