Perforce- multiple "branches" of game

Hi all,
Is there a way that I can have multiple branches of my game on perforce, with a secondary testing one keeping up with the main one, and if the testing works out I merge it with the main one?
EDIT: I’ve made a dev branch that stems from the main branch, however I now need a way to merge them.