Added some stuff for git grep from http://travisjeffery.com/b/2012/02/search-a-git-repo-like-a-ninja/