fix git head check syncronization error