См. http://wiki.etersoft.ru/GitUM
Код проекта: http://git.etersoft.ru/people/piastry/packages/?p=gitum.git