I found this blog post to work overall. By adding the ignore = dirty option to each one of the entries in the .gitmodules file.
[submodule "zen-coding-gedit3"]
path = zen-coding-gedit3
url = git://github.com/leafac/zen-coding-gedit3.git
ignore = dirty