- "Invalid authentication data. Connection reset" When trying to log in to github within IntelliJ IDEA
- Set server value with "https://";
- Close the net proxy of your network; (Your company or some VPNs)
- Switch to different network, such as your personal hotspot; (Fixed in my case)
- In File > Project Structure > Modules, click the "+" button;
- Press Enter (because weirdly it won't let me click on "New Module");
- In the window that pops up, click on the "..." next button which takes you to the Content root. Find your root folder and select it;
- Click the "ok" button;
- Ignore any warning that says the name is already in use;