check set remote repository for pull and push