--fatal: update_ref failed for ref'HEAD': cannot update the ref ~ What to do when --When working on multiple PCs (linux and windows this time), the file permissions have changed and only the root user can work. --It may also be possible to run git with sudo. --If you fix the authority, it will be solved.
- ls -la
--sudo chown -R user name: group name The managed folder name
--It should be solved.