I created a new branch for new changes
git checkout -b my-new-branch
Then I made a new migration and it created a new migration file. I decided to cancel this migration so I did:
git checkout master
git status
and I have noticed that I have this new migration file in the master branch.
Why did it happen?