ssh user@host mkdir myproject git init --bare myproject
The remote URL is user@host:myproject (relative to user home dir) or user@host:/home/user/myproject (absolute path)
The remote URL is user@host:myproject (relative to user home dir) or user@host:/home/user/myproject (absolute path)