第一种方法:
选择你的项目右键 -> team -> switch to -> 选择你需要切换的分支
第二种方法
在window -> show view -> other -> git ->git repositories