This is a short step by step tutorial how to integrate git (source code management) and Composer (dependency management) in XAMPP without the need of any defined OS Path variables or registry keys (XAMPP philosophy).

tested environments

xampp-win32-1.8.2-0-VC9.zip with PortableGit-1.8.3-preview20130601.7z

xampp-win32-1.8.3-4-VC11.zip with PortableGit-1.9.4-preview20140611.7z

xampp-win32-1.8.3-5-VC11.zip with PortableGit-1.9.4-preview20140929.7z