def GetCurrentBranchRef():
    'Returns branch ref (e.g., refs/heads/master) or None.'
    return (RunGit(['symbolic-ref', 'HEAD'], stderr=subprocess2.VOID, error_ok=True).strip() or None)
Returns branch ref (e.g., refs/heads/master) or None.
def GetCurrentBranchRef():
    
    return (RunGit(['symbolic-ref', 'HEAD'], stderr=subprocess2.VOID, error_ok=True).strip() or None)