Is there a specific reason you want to use hooks here, and can you clarify what sort of hooks are you looking to use? For example, GitHub webhooks versus pre- or post-commit hooks.
If you’re just looking to have local changes made available on your machine, you do not need the local branch here. The most viable option would be to adjust your workflow to look like this:
Local changes are committed to the _development _branch
This branch is then synced remotely with the same _development _branch on GitHub
You then pull down these changes to your development server as necessary
As appropriate, the _development _branch is merged into _master _branch when the code in _development _branch is production-ready.
This is known as the GitHub Flow and you can read more about how this development workflow operates in this help guide. I’d also recommend taking a look at GitHub Desktop which is a GUI to exercising git commands you’d usually run in a terminal. In addition, there’s an excellent guide to Git Basics which you can read here.
It’s likely that operating using the same development workflow mentioned above will be the easiest way forward.
If there’s anything else I can help you with, let me know; so happy to help further!