analy a str, return repo url, https, ssh, git format url (for github)