error cannot run gpg: no such file or directory code example Example: git cannot spawn gpg no such file or directory git config --global gpg.program $(which gpg)