Yes, but this could be used as a hook after a push on the git, so that code would always follow a certain convention, whatever editor the developper that pushed used.
Exactly :-)
Moreover, it is useful for open source projects where developers use different editors