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?
My Git account started having problems right after I changed my email address (my work email changed). I tried everything I could, uninstalling, reinstalling, spending time on the phone with git helpdesk, etc.
Gave up and created a new email address and new account, but still kept getting 'did not exit cleanly' message.
How I resolved was: uninstall everything git related, remove all references to anything git including tortoise under appdata, delete all git folders under Program Files and Program Files (x86), remove Window Credentials (Credential Manager in Control Panel) for all things git, reboot, reinstall with new account.