fix checks for git