private function installed_git_repos()
{
$plugins = Plugin::instance()->get_plugin_configs();
$themes = Theme::instance()->get_theme_configs();
$repos = array_merge($plugins, $themes);
$gits = array_map(function ($e) {
return $e->type;
}, $repos);
$gits = array_unique(array_values($gits));
$gits = array_map(function ($e) {
$e = explode('_', $e);
return $e[0];
}, $gits);
return array_unique($gits);
}