rm .git from github ssh repos, better shell error-handling