Sorry for the late reply, I didn't see the notification. Thanks for your reply.
What you recommend works provisionally ok, but I'm leaning more towards the idea of just adding a
home_dir and work out a complex
.gitignore to backup properly, even if a framework modification is far down the path (my custom boards need a patched arduino core, hence the origin of this "user centralized folder" for backup), because in this project specific
home_dir you recommend ends up replicating platforms and tools (and frameworks are already heavy by themselves, so replicating those is silly).
Thanks a lot!