How to deal with different Branches with and Collections with data?

Has anyone found a good workflow / workaround on how to deal with developing in different branches in git, some of which have different collections? As soon as I change the branch and start Strapi locally, Strapi deletes all tables that are not in the schema. How do you deal with this?

This topic has been created from a Discord post (1238493950289907763) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

How to deal with different Branches and Collections with data?

How to deal with different Branches and Collections in dev?