Oh no, you misunderstood. On our project we use git, and git hooks. however we use githooks only for linting and such. We deploy using a different system.
We have development servers for each developer like 'username.dev.myapp.com' so you don't have to install the application on your machine. Most people work on the server using 'ssh: screen/tmux - vi/emacs', but I want to work on my local because it's faster. So I needed a system to upload my changes to my remote box. and commit my changes from local.
Most companies use this technique so that you know how your code will behave on production while developing it, because it has the same exact architecture.
I hope it's more clear now. It's funny that you would think I don't use a version control system :) what year is this.