Replace bash script with calls to git from ant to make compatible with Windows.