Reverting git functions.