Move git update functions to the configure script