bash: Properly quote the GIT_DIR at all times to fix subdirectory paths with spaces