have you tried modularizing / breaking down your code into different files (ideally each having functional code so they don't depend much on anything else) as much as possible?
It's like being asked if i'm using source control? It's kinda a given if you're doing more than hobby projects.