Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Describe the bug
A directory that exists on the current git branch will show up as an empty folder when switching to a git branch that does not have that same directory.
Directories that do not exist in a git branch should not be displayed in the file tree.
Environment (remove any that are not applicable):