Automating common tasks with Git hooks