Implement automatic branching task for our automation.
Crude version was already written here: https://github.com/kubev2v/mtv-releng/blob/main/scripts/branching.sh
However it is not "modular" so it can not automatically work with repositories and doesn't ensure that everything is correct after branching.
The task should be idempotent.