(only valid if isGitRef) gets the branch, tag, or commit from the git ref
String? get gitRefString { return gitRef?.ref; }