I've struggling with branches in pycharm:
I create a new branch, let's say 'new-branch'. Then, I write some additional code and when I switch (checkout) back to master branch, the files reflects the same code on 'new-branch', without I have not made a merge.
Is it a bug or I have to commit before to checkout back to master?
PyCharm version: 2021.2.3 (community) running on Win10