Revert "removing branches +  migration"

This reverts commit 4f1c32da1760b048e91c0566fb942f8c7e4db357.