Finally, git branch detection in PS1 works