We have an overview on how it works here: https://xata.io/blog/open-source-postgres-branching-copy-on-...