Git sync fork

@kevgo please review
Run `echo_error_header` first to get a nice red "ERROR" output.