add search option for gitrepos