by Howard Miller.
Yes you can - I know very little about xampp but, at the end of the day, it just stuffs the Moodle program files in a directory somewhere. Just swap that out with files cloned from Git and replace config.php. Job done.
You just need to track down that directory - shouldn't be too hard.