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.
I have faced this situation and in my case, I was using two git id's simultaneously. so what it does it will update the credentials in the credential Manager 

`Control Panel\User Accounts\Credential Manager`

as shown [![here](https://i.stack.imgur.com/gGMCe.png)](https://i.stack.imgur.com/gGMCe.png)

inside Credential Manager, you will find the git hub credentials inside the Generic credentials there you have to update your git credentials.