When I use Studio to switch branches of a project and the working copy has changes, most of the times I do not get the expected warning that git gives on the command line:
Instead, Studio just checks out the requested branch and carries over any changes to that branch, like shown in the attached screenshots.
I find it very hard to reproduce the exact steps, but in a tutorial I gave yesterday all students experienced this same issue after:
1. Using Import to clone the remote repository.
2. Making a change.
3. Trying to switch branch.