For some joint project of mine, I needed a way for them to access (clone, pull, push) the
git repository that is hostet on my server without adding SSH accounts for them. With git
1.6.6 a feature called smart HTTP
was introduced, which allows working with the repository
via HTTP.
I set up the CGI script for smart HTTP git-http-backend
using uWSGI and serve it
(including basic authentication) via nginx. Let me show you how.
If you wonder how to set up uWSGI and nginx properly, please read my tutorial on that one. The following is completely comatible to the proposed setup. I assume you have both running and working, and