Address the second round of review findings:
- Cache: trust an entry only while it is newer than the repository .git/config
as well as while git reports the stored origin, so a core.worktree change
that moves the root is not served stale.
- observe.sh: emit observer.enabled as a literal true or false so a value
containing a newline cannot shift the fields that follow.
- Tests: remove GIT_DIR, GIT_WORK_TREE, GIT_INDEX_FILE, GIT_COMMON_DIR and
GIT_PREFIX from the detection test environment; add a config-change test and
an observer.enabled newline test. Refresh the registry digest.