In the SOURCE CONTROL section, you can access the new GITLENS section at the bottom. From there, click on the "more actions" icon, and you'll be able to detach whatever you need.