Fixed script that displays git branch