handle remotes with git:, ssh:// and git@ urls