It is possible that a process (e.g. 7zip alone) still holds the handle in that particular file, which makes another process (e.g. git ) unable to access / read the specified file.
Try this operation again when as many applications are closed as you can (or even immediately after a reboot) to see if the error persists.
source share