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 faced same issue while doing 'git pull'. I tried manual housekeeping git command 'git gc' and it resolved my problem.