Something wrong is going on with one of the files in my local git repository. When I\'m trying to change the branch it says:
Unlink of file \'templates/media
In my case there are no processes touching the file or directory. Maybe it happens if the path is very long, because an operating system restriction (windows). Try enabling the longpath support flag in the global git configuration as indicated below:
git config --global core.longpaths true
or try to setting the yes/no answer flag if it is not conflictive for you
set GIT_ASK_YESNO=false
If the path is too long, I've not found a successful solution.