Great Generals are their own units. They act as a "Civilian" unit so they can stack with another military unit, but not with a worker, settler or another great person.
They are not attached to an unit, but instead give a +25% combat bonus to all units within a 2 tile radius of the Great General (a total of 19 tiles).