checking if git remote worked