make task and script for switching ddr-local/cmdln branches

When trying code on a different branch it's usually necessary
to checkout said branch in both ddr-local and ddr-cmdln.