I want to host some git-Repositories.
Is it possible to setup them like SVN-Repos with a central ACL-File? (Have a look at AuthzSVNAccessFile-Directive for example)
I have solved this in our environment with Gitolite, Gitweb and LDAP. Gitolite is extremely powerful and supports ACLs and authorization even better than Subversion (e.g. Subversion does not know how to talk to an LDAP directory). I suggest you read up on Gitolite here.
Since you have tagged your question with
A quick rundown of our setup: the LDAP directory contains groups (
Gitweb is just icing on the cake but if you use it, you probably want your users to only see the repos for which the have permissions. Gitweb allows for that by doing per-repo authorization based on the Gitolite ACLs defined. See here for details.
As you can see there are quite a few parts interacting with each other, so be sure to thoroughly read (and understand) the Gitolite documentation, it is quite comprehensive.
Edit: As a result of the release of Gitolite g3 and restructuring of the Gitolite documentation by Sitaram Chamarty many links have been broken since this post was made. I've updated them as best I could but some still point to the documentation for Gitolite g2. This is because some concepts changed heavily from g2 to g3 (like the "big setup" or).