Fix broken tests.

: #test
Add Github post commit hook controller to API.

: #github #api #feature