I don't have any backups on my system. I accidently pulled my templating language routines and overwrote the last changes I had made. This was awful because I spent quite some time speeding it up and I lost the final speed up I made. I must've forgot to push the changes to github and so I didn't have anyway to get them.
Luckily! I took a screenshot of the core logic and posted it to mastodon. I did have to retype everything but at least I didn't have to re-work it. I probably could but I would absolutely hated it. I already hated it and was ready to drop the entire project if I didn't find some way to get it back.
Thank god for posting while working.
This does mean that I really need to implement something where I make periodic backups.