Apache Web Server is designed to create web servers that have the ability to host one or more HTTP-based websites. Notable features include the ability to support multiple programming languages, server-side scripting, an authentication mechanism and database support. Apache Web Server can be enhanced by manipulating the code base or adding multiple extensions/add-ons.
It is also widely used by web hosting companies for the purpose of providing shared/virtual hosting, as by default, Apache Web Server supports and distinguishes between different hosts that reside on the same machine.
Apache server configuration to lock down git/svn folders thoughout web server.
On an ubuntu/debian server edit file
sudo nano /etc/apache2/conf-available/security.conf
and add the following content at the end of the file
RedirectMatch 403 /\\.git