There is no “factory reset”, however if you format a new SDcard with only the files in SD library of the Git, you will effectively have done a factory reset. Follow these instructions but do not attempt to recover your old config.txt file.