I am aware that there are similar issues about git relating to the \'unable to unlink\' warning, but I have not been able to use them.
The main difference is that th
I had the same issue , I tried few alternatives as others suggested.
But finally giving correct permission to .git folder solve the issues.
sudo chown -R "${USER:-$(id -un)}" .git