The Esri_BranchVersion command creates or switches between branch versions of web feature layers that support branch versioning.
When the command is entered, you are prompted to select between the different web feature layers in the drawing that support branch versioning. If there is only a single supported layer, you are not prompted for that layer. You are then prompted with the Create or cHange options. Selecting the Create option displays the Create Branch version user interface that allows you to create a new branch version. If you select the cHange option, the Change Branch Version user interface is displayed, allowing you to switch between existing branch versions of the layer.
If no valid web feature layers are included in the drawing, the: No connected web feature layers found that support branch versioning message appears.
Note:
Branch versions may appear as locked in the Esri Contents user interface (UI) if the published service is set to read-only, or if the branch version could not be edited at the time it was added. If it's not designated specifically as a read-only layer, the branch version layer can be switched to the unlocked editing state in the context menu of the Contents UI but requires a user with the appropriate credentials to be signed in to synchronize changes.