I'm trying to clone a repo on Windows with MINGW64 and I get this error.
$ git clone ssh://user@server/myproject && scp -p -P XXXXX user@server:hooks/commit-msg myproject/.git/hooks/
Cloning into 'myproject'...
Unable to negotiate with XXX.XXX.XX.XXX: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
fatal: Could not read from remote repository.
*Already check the doc http://www.openssh.com/legacy.html and the Solution in the post http://www.openssh.com/legacy.html and still get the error.
Already added this to my config file Host somehost.example.org KexAlgorithms +diffie-hellman-group1-sha1
Any Help?