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.
When in the Visual Studio Code IDE, do the following: