add searching code in git