I come across the need to do a lot of one time scripts (related to API evaluations, data extraction, experiments etc.) that have the potential only to be used very rarely in the future. These could be one function python scripts, jupyter notebooks etc. Although they are rarely used, they are useful if the need to use them arise in the future. I am finding it very difficult to manage and maintain such scripts. They might not necessarily fit into any git repo in our company (the company mostly maintain source code related to products on git repos). How would one deal with such script in a systematic manner? Ideally I would like to keep such scripts in one repo dedicated for such scripts and have the scripts divided (grouped as sub-folders) into the job they belong to. However, such a repo would represent only my scripts and I don't know whether that the right way to do it. Currently, these scripts are scattered on my local computer and some on certain servers I normally work in.
Update:
The following two questions don't address what this question is referring to
Best practices for sharing tiny snippets of code across projects
What is the right way to manage developer scripts?
My question is regarding scripts that were important one time for the company to perform some operation (like an API evaluation) and would very rarely be useful in the future. But these scripts are important enough to be held onto because there could be instances where you would need to reuse part of such scripts to do some similar job in the future.