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
Just check your branch name in remote and local hope there may be a case-related miss-match .