git will let you check out other branch if your wo...
# intellij
p
git will let you check out other branch if your working directory is not in conflict with the new branch