While using Git, its advisable to use a CMD or PowerShell instance. Can you try:
git clone -b branch_name --single-branch 'repo_url'
branch_name is the name of your branch, and repo_url is the link of your remote repository (repository location).
If you want to get it done through the UI:
If you click on different branches, the URLs will be different. For example now I selected constraints-2-0 and as you can see the URL at the top has changed.
There seems to be only one route to get a branch via VS. It cannot be done directly but there is a simple path.
That's it. Hope that helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.