Add current branch automation to post-commit hook