test for git in PyCharm