I have a frequent problem where I am working on the same files but in different branches, and if I forget to close my files before switching branches, the changes I made are car