...
(On Linux this should be /opt/lampp/apache/conf/extra/httpd-xampp.conf)
...
<IfModule alias_module>
...
Alias /bahn "<PATH TO YOUR GIT>/code/website"
<Directory "<PATH TO YOUR GIT>/code/website">
AllowOverride AuthConfig
Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</Directory>
</IfModule>
...