We review the geometry of the moduli space of flat connections and Hitchinfs moduli space for an orientable or non-orientable surface, and study various line bundles over the moduli spaces. We consider the quantisation of Hitchinfs moduli space for a nonorientable surface by branes and mirror symmetry.