I started using VSCode's built-in version control feature recently. I made changes to two files while I was in a given branch (let's call it bug-39) and then switched to another one (let's say bug-40) with git checkout bug-40.
When I re-launched VSCode afterwards, I verified I was in bug-40 (in the bottom left corner of the screen) but the pending changes section still listed the two files I had modified while in bug-39.
Is this normal, or perhaps I did something wrong and didn't save the files in bug-39 but instead "globally"?