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: 
Actually, this error message just says that there is some problem but no specifications of the problem. So, in my case, it was a pending pull request. I pulled the changes into my repo, and then pushed it again and it worked. Moreover, if there is an error on tortoisegit, I prefer to do the same on console. Console gives more detail error message
* Go to the project folder.
* open .git folder
.git=>refs=>remotes=> Delete the origin folder

Finally do pull/Push. It will work.