I'm using Xcode 9 and in my project I started to work on a completely different feature but unfortunately I've forgotten to create a new branch before doing that. So, now I have a lot of changes which don't refer to an old branch, so I create a new one, but I can't change my current branch without committing them.
Is there some way to change the branch, while having uncommitted changes, or I don't have other choice but to commit them to the current branch?