Add branching support for pivotal