I created a new GIT repository enabling VCS for my project in Android Studio, made first commit, then created from master a new branch by right clicking on master and choosing New Branch option.
Automatically it checked out the new branch. Ok.
Then I changed a source on working folder, automatically reflected on Local Changes. Ok.
But when I checked out back the master branch I saw on the source on working directory the same change that I made on the new branch.
Even git status
reports the same file as modified in the master branch.
As the HEAD was left on both the branches.
I am new on GIT, is this a normal behavior?