Git checkout to new branch gives below error
unable to write symref for HEAD: Permission denied unable to update HEAD
But it works if I delete the repo and create a new one. The moment I restart my laptop I guess it stops working.
The problem is in Windows 10.