I found a workaround that allows you to clone all branches, even if they are renamed. As Adam mentioned, renamed branches are deleted and recreated, and we need βparentβ commits that must be cloned in front of the children.
1) Find the list of all remote branches. I am using Visual Studio -> Source Control Explorer -> click the "Show hidden remote options" icon.
2) In ancestral order , git tfs branch --init $\Project\Branch_Location each remote branch
source share