```bash git clone https://github.com/user/repo git clone pi3:usr/jda # ssh ``` See [this stackoverflow question](https://stackoverflow.com/questions/9163295/cloning-a-git-repository-over-sftp). Note that `sftp` is really a layer that runs above `ssh`.