title: using git pull/push via sftp-only connection
body: <p>I need to synchronize a git repository between two host, which are only able to talk to each other via a dedicated sftp-only server.</p>
  
  <p>As far as I see git comes with an ftps but no sftp helper.</p>
  
  <p>According to <code>man gitremote-helpers</code>:</p>
  
  <pre><code>   Git comes with a "curl" family of remote helpers, that handle various transport
     protocols, such as git-remote-http, git-remote-https, git-remote-ftp and
     git-remote-ftps. They implement the capabilities fetch, option, and push.
  </code></pre>
  
  <p>According to <code>man curl</code> curl supports both ftps and sftp:</p>
  
  <pre><code>   curl is a tool to transfer data from or to a server, using one of the supported protocols (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS,
     LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP).  The command is designed to work without user interaction.
  </code></pre>
  
  <p>As curl understands both protocols and both should at the end offer pretty much the same features, is there any good reason why there is a helper for ftps but none for sftp?</p>
  
  <p>I currently thinking about implementing my own <code>git-remote-sftp</code> similar to the <code>git-remote-testgit</code>. Is there a better way I am missing?</p>