hy i'm new with sockopen etc..

i try to make a script that connects to www.github.com

but it says not connected after i try gitpush so whats wrong?

Code
alias gitpush { 
  sockopen gitpush http://github.com 80
}

on *:SOCKOPEN:gitpush: {
  sockwrite -n $sockname GET /svdermant/ HTTP/1.0
}

on *:SOCKREAD:gitpush : {
  sockread %gitpush
}

here that is my error..
* /sockwrite: 'gitpush' not connected (line 6, remote.ini)