For arch. > sudo su # keep it simple > pacman -S git > cd > usermod -d `pwd` git > usermod -s /usr/bin/git-shell # Disallow shell access. > mkdir .ssh > touch .ssh/authorized_keys # public keys go in here > git init --bare # by convention, bare repos (like for servers, no working directory) end in .git > chown -R git:git . Now on a dev machine: > git add remote git@: or > git clone git@: For example: : /mnt/data/git-home : foo.git : origin FWIW, the git-remote string is @:.