Revisited how to get proper brach to tag in git