<IfModule mod_revrite.c>
Options -MultiViews SymLinksIfOwnerMatch
RewriteEngine On
RewriteBase /var/www/ #path to gitlist
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [L, NC]
</IfModule>
<Files config.ini>
order allow,deny
deny from all
</Files>