Updated git-hooks to export the current git ref