Documentation of Branch::getType() changed so code preview is used.