In VSCode, after I do a pull request and delete the branch on GitHub, that branch still shows up in Visual Studio Code. If I select the branch, it gives an Error, as expected. <
Open the command palette (Ctrl+Shift+P) and select Git: Fetch (Prune).
This feature was merged into VS Code on Nov 20, 2018.