Git over ssh without Git being installed on server

I have full access to some folder on a remote Linux server over ssh and scp. I can upload and download files but not install apps. Now I want to put a git repository on this server.
When I try to clone from an over scp copied repository I get the following error message:

sgit-upload-pack: Command not found
fatal: The remote end hung up unexpectedly

Cloning using the same command from Github works as expected. Do I need Git installed on the server? If yes, is there any work around?

  • git-svn creates a lot of branches appended with @rev
  • How can I push an repository that contains subrepositories to a new bare repository and pull it back on another computer?
  • How to get the last commit date of a file with ruby/grit?
  • List key git commits between revision A and B
  • Git file change isn't seen in log after merge with conflicts
  • How can I deny a commit, in a client-side hook, if the user name/email is incorrect?
  • How to reset the git-flow configuration in SourceTree?
  • How to preserve line endings when extracting git commit messages in a bash script?
  • Trying to make sense of git fetch
  • git-svn dcommit fail for “URL access forbidden for unknown reason”
  • git submodule specify version
  • jquery clone combo box not able to function
  • 3 Solutions collect form web for “Git over ssh without Git being installed on server”

    I think that git needs to be there. But you can simply install it in the directory you have access to.

    You could use SSHFS and mount the directory on your local machine, and then run Git locally.

    You would need enhanced access for SSHFS, I would imagine.

    This would be a really cool addition to Git, and I believe there is some way to do it, though I haven’t found it… yet. I am using git in combination with rsync to the remote server for a similar situation.

    Git Baby is a git and github fan, let's start git clone.