I tried Manjaro LXQt and Manjaro KDE/PLASMA and found that the ZSH shell has a bug in showing the branch name when there are no changes in the repository
As per the attached image, when the repository is initialized, the branch name does not have the last character.
The complete branch name appear only when there are some changes in the repository.