Incredible article Bridget, I actually saved my code in a similar format on my pc. I just don't like seeing my code everywhere, it's not very professional and referencing past code is much less a hassle.
As for how I organise code I have a parent directory, code_files. Code_files .----projects(current working on or completed) .----challenges(frontendmentor, codewars etc) .----dump(projects I abandoned or "outgrew"
In each directory, I have a subdirectory where I organise the code further by merit of the main language (language I started with or built the project around)