try to make the git checking faster