Don’t remember how u created that file last month? Trying to find out what u did last in that dusty project directory? Used a script without version control? You might want to try shournal - the shell journal.
Bashing irreproducibility with shournal
Bashing irreproducibility with shournal