I was working on branch-A, made code changes in a new folder, committed and pushed to origin.
Now I switched to branch-B (git checkout branch-B) and pulled from origin (git pull origin branch-B). However, the new folder that I made in branch-A appears in green on the file explorer (I'm using VScode) and there are 10 uncommited change in my VScode source control.
Now I'm afraid to make any commits to branch-B as it will include these new files I created on branch-A.
I would like to work on branch-B without carrying over changes I previously made to branch-A.
What have I done wrong?