adding websrv function; refactored git config