git-dirty (rubygems): This gem provides a Rake task that records the git status in a separate file, which can then be included, e.g. as part of a file-based build process.
Keywords: git|rake