I am relatively new to using Git and I am having some issues switching branches.
I have two branches: main and experiment. In both branches, I have a file called "admin.html". I changed its name to "admin1.html" while in my main branch. I then I switched to my experiment branch:
git checkout experiment
After switching branches, I noticed that the file name is still "admin1.html" - which it shouldn't be since I only changed the file name in my main branch, not my experiment branch.
Can someone let me know if I'm doing something wrong? Thanks!