Move search helpers like git-grep to their own file