update check also for github pulls
use HEAD for first checkup
changed json array to fit HEAD url
get .git version also on initial setup
username not required on git pulls
Merge pull request #269 from daeks/patch

Patch