Differential geometry on the character variety