Persist Github Config and restore