Run your own remote server that you can ssh to? You can use it to host your own private git repositories - they're just directories that have been git init --bare
.
Use this script to create new remote repositories, list existing and get simple help for cloning or adding them as remotes.
Save this script to the remote server (e.g. ~/bin/repo-man.sh
), and then invoke from your local machine like this:
ssh -t [email protected] "~/bin/repo-man.sh"