For anyone having problems with write protected files, i created guide to remove the attribute: Windows: How to remove write protection from a file inside a vault
Nonetheless, this will not help in this case, since git uses under windows the write protection attribute and thus will always fail.