Git for XAMPP
Setting up a repository on the server
On the XAMPP server, the webroot by default is in C:\xampp\htdocs.
Create a new directory for git repositories below the webroot:
$ cd /c/xampp/htdocs
$ mkdir git
$ cd git
$ git --bare init new-repo.git
$ ls
new-repo.git/
Adding Git Settings