[git] Checkout another branch when there are uncommitted changes on the current branch