    

 ## On this page

  

 

 # getBranchName

 Last update: 30.07.2026 

public [getBranchName](get-branch-name.md)(index: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)

returns the name of the branch

#### Return

name of the branch

#### Parameters

indexof the branch#### Throws

[ModelCenterException](./../-model-center-exception/index.md)