If they are personal, save them onto a windows folder on disk and separate them by categories. Take a backup of those scripts regularly. If they are shared scripts then put them on a network share.
If they need to be modified by a group of developers, then use a source control tool.
Thank You,
Best Regards,
SQLBuddy