Merge pull request #897 from nulltoken/topic/git_reference_check_format refs: expose git_reference_normalize_name()