checking connection to repo