Clone remote -> localhost

git clone ssh://user@my.server.com:port/~/subdir/to/repo.git