Git rebase in outbound-only environments is possible, but it requires planning. Most corporate networks block incoming traffic to protect internal systems. This means no direct SSH from outside, and no inbound hooks to your workstation. Your Git client must initiate all traffic.
To rebase in this setup, use a Git hosting service that supports HTTPS or outbound SSH over allowed ports. Configure your .gitconfig to route operations through this outbound path. When you run git fetch before git rebase, the requests should leave your network, hit your remote repository, then return over the same outbound channel. Since there's no inbound connectivity, avoid relying on interactive features that require reverse connections.
A clean rebase sequence in outbound-only mode: