You can clear your history on Firefox manually, or set it to clear automatically whenever you close Firefox.
You can clear your Recent Files in Windows 10 by going into your "Change folder and search options" menu.
Incognito mode is a convenient feature across browsers, allowing you to surf the web without saving your browsing history, cookies, or temporary data. However, it doesn’t make you entirely invisible.