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