almost rewrote everything and added git_mysql type