Add createBranch() API method