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
I had this issue and solved it by the command : git gc The above command remove temp and unnecessary files. (Garbage collector.)
git gc