atually checking error codes on http and do git repo check