Save OverWriteHosts.bat
on your desktop, and click 'Run As Administrator' in the context menu.
Save UpdateGithubSectionOnly.bat
on your desktop and click 'Run As Administrator' in the context menu.
This batch file will update the content between the markers "### Github Start" and "### Github End" in your original hosts file,
or, append to the end if not found the markers.
Update Windows hosts file with one click by using a batch file.
Thanks to the project: https://github.com/521xueweihan/GitHub520