You could change url of the origin:
git remote set-url origin https://github.com/MyName/MyProg.git
and work as usual. Then change it back if port unblocked.
Second approach. You could change port which ssh uses by its config. github also provides ssh connection via port 443. For this you need to create a file ~/.ssh/config
with the following content:
Host github.com
Hostname ssh.github.com
Port 443
For debugging you could use ssh -v git@github.com
.
BTW, ssh port is number 22, not 23.