I have an external drive which I would like to clone git repositories to. When I run git clone on the external drive I get the following error
Cloning into 'covid-19-data'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
error: insufficient permission for adding an object to repository database /mnt/d/covid-19-data/.git/objects
fatal: failed to write object
fatal: unpack-objects failed
However when I run git clone on my C drive it clones not problem. I can create a new file on the external drive from the command line.