I don't know if this helps, but I had the same problem, but reversed. I
downloaded msysgit netinstall in December 2007, and later decided to update
it using git instead of completely removing it and reinstalling it from
scratch.
A 'cd /; git pull' from the msysGit prompt continued to give errors until I
changed remote.origin.url from http://repo.or.cz/r/msysgit.git to
git://repo.or.cz/msysgit.git, and then it worked. I had a dirty worktree at
the time as well. I am sorry it seems that I can't reproduce it now, and I
didn't record the problem details at the time, thinking it was related to my
inexperience with git.
------------------------------------------------------------------------
Peter Klavins