check if GitHub is acessible via https, and automatically switch to ssh otherwise