add ability to get the repositories current HEAD