I am building a git server on Ubuntu.
On the git server, I create a git repository on /opt/var/git/example.git. When a client wants to clone this git repository, he should use the command "git clone ssh://username@host-ip/opt/var/git/example.git"
I wonder if there is any way to short the ssh path and hide the absolute path.
For example, the client could clone "example.git" by "git clone ssh://username@host-ip/example.git".
Thanks!