':return: The ID for the latest commit in the LOCAL repo.'

def get_local_head_id(self):

    branch_name = get_current_branch()
    repo_refs = self._repo.refs
    origin_master = [ref for ref in repo_refs if (ref.name == branch_name)][0]
    return origin_master.commit.hexsha
