remove useless variable
better way to get curret branch name