adds branch capability to cap deploy