we have 2 software teams. one team is using bitbucket cloud and the other is using server.
How would they share their code modules easily? is it just a matter of cloning a repo from the right place and using the code in their development regardless of its location?
or are there other things to think about or ways to do it that are cleaner/smoother, less error prone? Integrations, etc?