I was trying to checkout from branch or you can say I was trying to change the branch of my Visual Studio 2017 project using Visual Studio's inbuilt Git, but I am facing the below error
Git process failed unexpectedly. checkout --progress
How can I resolve this? I am unable to change the branch
I had similar issue while working in Visual Studio 2017 community edition, and was able to resolve after following these steps
Navigate to C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\
and delete the
Make sure that there is no version of Git installed on your system, remove it by going to Control Panel > Program and Features (no need to remove tortoise git)
Open up the VS 2017 installer and untick "Git For Windows" in installation options.
Head over to the git website and install the latest version of Git For Windows.
Go back into the VS installer and tick "Git for Windows" again, it will not download a new version even though it may look like it is. After that is done your git should be fine with VSTS and TF Explorer.
This Error can also occur if there is any error in code, you can simply revert code and try again, this may also work in some cases.
You can also try this solution, in Windows -> Control Panel -> All Control Panel Items ->Credential Manager -> Windows Credentials -> Remove Git:http://........
and Retry, this may work.
Subscribe to our weekly Newsletter & Keep getting latest article/questions in your inbox weekly