Configure ssh, use git-crypt to crypt the configuration. That way no information like domain name, ip, port, username, etc. are exposed.