basics for git-check major mode