used HOME env variable, made script to get git-remote-hg