That is basically it: I would like to search for a specific expression across all the previous states of my repo.
I have read that one can search all past commits one by one or searching for the commit message, but not for content.
Before using git I had different versions stored in my folder, so I would just need to search across files an expression that I used in one of my previous versions that I wanted to find again. However, using git I don't know how to go about that.