git's purpose is to track change and provide meaningful insights into code written by many different people.
The fact that you can use it to deploy is just a side effect and using git solely because it makes it easier to deploy changes is thoroughly missing the point.