That's exactly what a blockchain is. Blockchain being the "secret sauce" has always been a misconception; as noted git is exactly a blockchain. What we call refs in git are blocks in Bitcoin.
Nakamoto consensus was the innovation, the major energy consumer, and not necessary for cryptographic data integrity like a CBDC or git repo needs.