Here’s what I’m using to work around the URL rewriting issue:
- run:
name: Override GitHub URL rewriting
command: |
git config --global --unset url."ssh://git@github.com".insteadOf &&
git config --global url."ssh://git@github.com/my-org".insteadOf "https://github.com/my-org"