I create a new local branch which is called development from the master branch by this command:
git checkout -b development
after the command above executed, on the created branch I open some files make changes, then I move to the origin branch(in my case it is master) open the same file and I can see the changes that I made in the development branch.
While I expect that changes that were made on one branch are not reflected in another branch.
Any idea what can cause this strange behavior or how to fix the issue?