It depends on the project. Git is platform agnostic can be hosted in both centralized and decentralized way. The centralized nature of a project is not a requirement for git. Git's distributed and decentralized nature makes it a flexible and powerful tool for collaboration.
Discussion
If the level of centralization depends on the project, the protocol itself is not that decentralized.