test to make sure local repository is connected properly to remote