add workaround for using ~/.gitconfig after sudo