i am currently working on windows.
Sometimes i have problems when i try :
git checkout origin develop
i have this error : error: un
None of the provided solutions helped in my case of this problem.
Finally (after many desperate unsuccessful attempts) the thing that did the work was good old PC reboot.