First try to do a normal Fetch
[Right Click] > Team > Fetch From Origin
If it is mentioned as “No ref to fetch from…”
Click on Configure
Then you’ll get the list of Ref mappings
Add a ref mapping
Add the Source (Branch information on the new remote repo. You need to know the branch name in this case)
refs/heads/dev/release_02
Then it will automatically suggest the Destination local branch to update
eg : refs/remotes/origin/dev/release_02
Then the new ref mapping will be visible in the Ref Mappings
eg : refs/heads/dev/release_02:refs/remotes/origin/dev/release_02
Click Finish
Then new branch will be Fetched
Checkout the new branch
Then you can Checkout it to the local git repo as mentioned below
- [Right Click] > Team > Switch To > Other…
- Remote Tracking > [Select the branch] > Checkout
- Checkout As new Local Branch
- Finish