Git-Filters is a project mainly written in Shell, it's free.
Clean/smudge filters for git.
These are a couple of clean/smudge filters that I use in my git repos.
Git-Filters
install_git-filters
source install_git-filters