Step-by-step installtion of cGit on nginx without funky rewrite rules.
This is for
sudo aptitude install build-essential autoconf automake libtool libfcgi-dev spawn-fcgi
Now lets install fcgiwrap. Alternatively, you can
git clone https://github.com/gnosek/fcgiwrap.git
Nice manual, I used it, it works. Thank you.