removed the last useless character in git branch path