Question: I got this message when i tried to create repository by using Git clone.

```
git did not exit cleanly (exit code 1)

```

How to fix this?

Answer: 
For me it was due to insufficient disk space , and it was resolved after I freed up some disk space on my local drive.
Right-click folder -> TortiseGit -> Clean up.. -> click OK

None of the above solutions worked for me but this one did.