Try setting the ‘gitbin’ config variable to the full path to your git executable. If that still doesn’t work and you’re sure your git executable is set up correctly, check to make sure safe mode is turned off.
Try setting the ‘debug’ config option to true and loading up GitPHP. At the bottom of the page, you’ll see info on the directories being searched and which ones are being skipped.
The .git hidden directory means you’ve copied your entire working copy into /projectroot/myproject, not the bare repository. You need to use a bare repository with GitPHP.