Earlier quoted context omitted.
Theres a lot of things you can do in the API that you can't do in git. For example, pushes exist in the API, but don't really within git.
I don't get it... The API is built on top of `git`!
GitHub has lots of things that Git doesn't have. As well as recording pushes and making them available over the API, it records fork information, has concepts of users and organizations which dont exist in git, has pull requests, comments, and post-commit code review, an issue tracker, etc, etc, etc.