It's amazing how that happens sometimes.
I also make extensive use of Git, for lots of things. One of them involves using my Macro Repository Suite to save all my macros as individual JSON files, then using Git to save versions. This has saved my bacon more than once, when I made questionable changes to various macros and wanted to just trash the changes.
You can never have too many backups!