All tribes and their units are defined by Lua scripting files which are located in data/tribes.
data/tribes
tree_help.lua
Defining Tribes