A fantastic (but somewhat advanced) reference for this is Lenstra's text: [Galois theory for schemes][1] [1]: http://websites.math.leidenuniv.nl/algebra/GSchemes.pdf