git checkout error: cannot create directory: Permission denied

I had a similar situation. Though it was due to me having the solution open in visual studio. Closing visual studio and doing a git reset put me into a good spot.

I.e. check to see if any processes are locking the folder/files.

Leave a Comment