fixed git branch prompt bug