Added type for git check