Because the current GIT server key encryption is basically 256-bit, and NetBeans with the JRE environment of the encryption limited to the basic 128-bit encryption, resulting in the inability to communicate with the GIT server
Solutions
Download Java Cryptography Extension (JCE) Unlimited strength jurisdiction Policy files, which adjusts the length of the encryption key for Java to unrestricted
The Readme.txt of the download package has installation instructions. is to replace the Local_policy.jar and Us_export_policy.jar under ${java_home}/jre/lib/security/.
Example: C:\Program Files\netbeans 8.2\bin\jre\lib\security
Note To download the corresponding version of the file, the NetBeans 8 version with the 1.8 jdk, so to download the 8 version of the JCE file:
Http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
Restarting NetBeans after the replacement solves the problem, and can be solved in the same way if eclipse has this problem
NetBeans 8 later versions cannot connect to a git server