How to fix error: unable to unlink old 'file.txt': Permission denied in Git | DevErrors