Implement search functionality (Git#grep).