Replace string which is not preferred to show outside to environment variable name.
For example, if you have environment variable HOME=/Users/foo and executed command output /Users/foo/credentials/bar, git-exec will replace it to $HOME/credentials/bar on build commit message.
Exceptions
- value has only numeric, only space or too short string like:
- KCODE=u
- PS1='$ '
- TERM_PROGRAM_VERSION=453
- XPC_FLAGS=0x0
- XPC_SERVICE_NAME=0
- value which might match as other means
- CLOUDSDK_PYTHON=python3
- OLDPWD=...
- PWD=...
- SHELL