It looks like for MsysGit (v1.7.7 anyway, on XP), that the git command and arguments should be piped to cat, not type.
So if you're having some difficulties on Windows - in the form of an error message about incorrect syntax - try removing the "if ispc" conditional block at line 69 and setting the value of "prog" to "cat".
Thanks for your help. I did as you suggested. The error appears when ruuning the depoled *.exe is as follows:
D:\code\??? Error using ==> imread at 374
does not exist.
Error in ==> TabPanel>iLoadIcon at 429
Error in ==> TabPanel>TabPanel.reloadImages at 393
Error in ==>TabPanel>TabPanel.TabPanel at 70
Error in ==>QuadrupoleMachining>createInterfae at 190
Error in ==> QuadrupoleMachining at 4
Do you know the possible reason for such error?
Thanks very much.