I'm using IntelliJ and I have been trying to learn Git and Github lately. So I have been forcing myself to use it. I have a master branch and when I'm working on my project, I work on a seperate branch called development. The problem is that the changes I make to the development branch such as creating new files and directories are being automatically reflected in the master branch.
I may be naive, but doesn't that undermine the whole point of branching? Anyway, how to do I get this feature to stop? And perhaps, why is IntelliJ doing this?
 
    