Moved gitAutoUpdate, fixed errors in log code