check git connection