Ok, I see. But it's not working for me:

```bash
git config --get remote.origin.url | sed 'sed 's/^[^:]*[:/]\(.*\)\.git.*/\1/''
sed: 1: "sed s/^[^:]*[:/](.*).gi ...": unterminated substitute pattern
```