From the Merriam-Webster dictionary
Definition of linguistics: the study of human speech including the units, nature, structure, and modification of language
grammar: (the study or use of) the rules about how words change their form and combine with other words to make sentences
According to those meanings above, English grammar is part of linguistics. Is my understanding correct?