(Git Hooks) Improved Git Hooks

Improving the git hooks by adding a better parser for commits