git: fix references to ~ in config