1. A decentralised/trust-less "source of truth" for coordination between mutually distrusting parties. This was the "novel" innovation for Bitcoin and it's been refined with the less energy intensive consensus algorithms. Not everything needs this and arguably fairly few things do but for the projects that benefit from trust-less coordination as an option, I'm not sure there's a better alternative yet.
2. As a decentralised marketplace for a given resource. The most common one is the basic cryptocurrency which is a fee market for inclusion in the ledger. Past that however are Storage, Data routing (i.e. VPN or onion routing), and Verifiable Compute (or non-accuracy-critical compute like 3d rendering).
Outside of those, I'd also argue it's useful for privacy preserving transactions (like monero, etc) but I know some people will disagree that that's "just for criminals".
Don't get me wrong, a lot of cryptocurrency or blockchain projects are practically an abstraction over git or a database but there are a number of very useful things you can do with blockchains that you just can't do with git or a db.
This only works if everything of value is on the blockchain. Otherwise, the oracle problem makes regular databases a better solution.
Mediation and arbitration are well known methods when trust is missing. A joint venture with a database can do anything the blockchain community built more efficiently.
Historically, that was things like documents being stamped or sealed by a trusted third party witness, escrow agents to hold funds or property until some transaction finished, auditors confirming that a particular good was in the expected condition, etc. In every case, anonymity would be a negative because you want to know, for example, that your notary doesn’t have a criminal history or a reputation for sloppy record keeping.
In the electronic era, that could be implemented using PKI where different parties register keys (or more likely corporate CAs) and use those to sign transactions or witness having seen a particular record. That’s similar to a blockchain in terms of trust but orders of magnitude more efficient and robust since it doesn’t require a network connection to a complex distributed service.
Git is decentralised, not distributed. You get the whole git database (for want of a better word) when you clone it, unless you use the —unshallow option.
git does not implement a block-chain.