This extension adds to vscode a feature that automatically synchronizes the list of open files according to the current git branch.
This feature is built-in in other IDEs like IntelliJ.
Simplified example
User is working on branch branch-1 with the following files open: a.txt and b.txt.
User switches to new branch branch-2 and closes file b.txt, leaving only a.txt open.
After switching back to branch-1, the b.txt file is opened again, so the list of open files will be again: a.txt and b.txt.
Features
Automatically restore the list of open files when switching back to a branch
Pinned files are not closed when switching branches
Extension automatically restores focus to the file that was active before leaving the branch
Switching to a new branch does not change the list of open files