check ignore definition for git