Guard::Gitpusher automatically runs git commands when watched files are modified.
hatone
gem "guard-gitpusher", "~> 0.2.0"