How do you switch between branches in Visual Studio Code with Git? May 16, 2023 by Tarik When in the Visual Studio Code IDE, do the following: on the bottom left, press on the Git branch which will give a list: Select a ref to checkout select one of the branches of the remote branch.