export `GIT_DIR` then replace that everywhere
export
GIT_DIRthen replace that everywhere