changed character search for gitBranch
not asking questions, it works
better than nothing, cut the new line to a blank space