This is an extension for vscode. It allows you to save and restore groups of tabs manually and when changing git branches
On the sidebar, you will see a Tab Group icon. It will list all the saved tab groups and provide buttons to save new tab groups, override existing ones, and restore tab groups. The context menu allows you to rename and delete tab groups.
You can also execute these commands from the command pallette.
Thanks to eamodio for the code to cycle through tabs