git with IntelliJ IDEA: Could not read from remote repository

今天因为一些意外强制重启了电脑,重启后发现idea的git插件不能pull和push了,但是在terminal里面可以
使用一下方法解决了问题:

Settings --> Version Control --> Git, and then, in the SSH executable dropdown, choose Native