Did a quick test: at my Tumbleweed I have modified gitweb.cgi (I only added some prints). I called 'git instaweb' in the repo fks-texmf placed in my home. The command 'print "Read $GITWEB_CONFIG. The root is $projectroot.\n"' placed right after 'read_config_file($GITWEB_CONFIG)' told me: "Read /home/meggy/fks-texmf/.git/gitweb/gitweb_config.perl. The root is /srv/git." So it reads the correct $GITWEB_CONFIG, but the $projectroot remains the same... puzzled.