Usually not: an English-taught master's normally asks for proof of English, not German, and the student visa asks for proof of the language your course is taught in. But some universities want basic German, A1 or A2, when you enrol or during your first year, so check your own course page.
Language levels such as A2 come from the Council of Europe's Common European Framework of Reference for Languages (CEFR). It has six levels in three groups.
A1 and A2: basic user. At A2 you can handle simple, routine exchanges about everyday things like your family, shopping and where you live.
B1 and B2: independent user.
C1 and C2: proficient user. At C1 you can use the language for academic and professional purposes.
Getting in: English-taught master's
The DAAD, Germany's academic exchange service, says you can usually enrol in an international degree programme without proof of German. You will then need proof of another language, usually English.
Each university sets the rules for its own courses. The University of Hamburg, as an example, says its master's programmes taught entirely in English need no proof of German, only proof of English, and that every master's programme has its own regulations.
The student visa from India
For a student visa, the German missions in India ask you to prove the language your course is taught in: English for an English-taught course, German for a German-taught one.
Level: if you go straight into a master's, the level asked for is generally C1, whether the course is in German or English.
Certificates: a recognised certificate, such as Goethe-Institut / Max Mueller Bhavan, ÖSD or telc for German, or IELTS or a test from an ALTE member for English.
Not accepted for visa applications in India: Duolingo, Pearson PTE and the TOEFL home edition.
A course taught in German needs far more than A2: generally C1 German.
When a university wants basic German anyway
Even on a course taught in English, some universities set their own German rule. It can apply by the application deadline, at enrolment or during your first year. These examples show how much it varies:
RPTU Kaiserslautern-Landau: students on its international master's must attend German courses and pass an A1 exam within their first year. An A2 Goethe-Institut certificate from abroad, not older than one year, can exempt you. In India, the Goethe-Institut is Max Mueller Bhavan.
RPTU, MSc Commercial Vehicle Technology: basic German, level A1 (Goethe-Institut or comparable), is required by the application deadline.
THWS, the Technical University of Applied Sciences Würzburg-Schweinfurt: its table of entry requirements lists A2 German at enrolment for the master's in Business and Engineering (in English) and in International Social Work with Refugees and Migrants (in English), and A1 for two MBAs taught in English.
THWS, master's in Electrical Engineering and Information Technology: if you choose English as the language of teaching and show B2 English at enrolment, you must show A2 German by the end of your second semester.
What to do now
The rules differ from course to course, so your own course page is what counts, not a general answer.
Read your course's language requirements, and look for German at three points: the application deadline, enrolment and the first year.
Book an English test the embassy in India accepts, such as IELTS, not only one your university lists.
If your course asks for German at enrolment or by the deadline, get that certificate before you go. If it asks during your first year, the university may run its own German course and exam, as RPTU does.
If a university accepts a certificate only while it is recent, like RPTU's A2 certificate not older than one year, time your exam with that in mind.
If your course is taught in German, plan for far more than A2: generally C1.
The facts, with their sources
Every figure above comes from these official pages, opened on the dates shown. General information, not visa advice.
Language levels (CEFR, used for German certificates): six common reference levels, A1 A2 (basic user), B1 B2 (independent user), C1 C2 (proficient user)6 levels
“Global scale - Table 1 (CEFR 3.3): Common Reference levels. PROFICIENT USER C2, C1; INDEPENDENT USER B2, B1; BASIC USER A2, A1. C1: "Can use language flexibly and effectively for social, academic and professional purposes." A2: "Can understand sentences and frequently used expressions related to areas of most immediate relevance (e.g. very basic personal and family information, shopping, local geography, employment). Can communicate in simple and routine tasks requiring a simple and direct exchange of information on familiar and routine matters."”
English-taught (international) degree programmes: usually no German proof to enrol rule
“You can usually enrol in international degree programmes without proof of German language skills. However, you will then need proof of other language skills, usually English.”
Uni Hamburg: English-only master's need no German proof rule
“Master's programs conducted entirely in English do not require proof of German language proficiency, although you do need to submit proof of English language proficiency. Every master's program has its own regulations”
Student visa from India: proof of the study language; for direct Master's entry generally C1 in that language rule
“Proof of German language skills - or English skills if your preparatory course or studies are in English ... If you intend to enter degree studies (Bachelor or Master) right away, generally the required level of knowledge is C1, regardless if the studies are in German or English.”
German-taught degree: advanced German needed (C1 generally for direct Master's entry; DAAD: TestDaF/DSH at least intermediate level in all parts) rule
“If you intend to enter degree studies (Bachelor or Master) right away, generally the required level of knowledge is C1, regardless if the studies are in German or English.”
Student visa applications in India: Duolingo, Pearson PTE and TOEFL home edition tests are not recognised; IELTS or ALTE members for English rule
“All knowledge of the study language has to be proven by a recognized certificate, such as Goethe Institute / Max Mueller Bhavan, ÖSD, telc for German or IELTS or ALTE members for English. Please note that neither Duolingo tests nor Pearson PTE or TOEFL home edition tests are recognized for applications in India.”
RPTU Kaiserslautern-Landau: international master's students must pass an A1 exam within the first year; an A2 Goethe certificate from abroad (not older than one year) can exempt1 year
“However, students who participate in an international Master have to acquire a basic knowledge of the German language. They are obligated to attend the German courses at the RPTU Kaiserslautern-Landau and pass the A1-level exam at RPTU within the first year of their studies. International master students, who prove their knowledge in German language with an A2- Goethe-certificate from abroad, not older than one year, can be exempted from passing the A1-level exam at RPTU.”
RPTU MSc Commercial Vehicle Technology: A1 German required at the application deadline rule
“As an international program most of the lectures are held in English, thus only a basic knowledge of German (Level A1, at Goethe-Insitute or comparable) is required at the application deadline.”
THWS Würzburg-Schweinfurt: German level required at enrolment for some master's taught in English: A2 for M.Eng. Business and Engineering (in English) and M.A. International Social Work with Refugees and Migrants (in English); A1 for two English-taught MBAs (Transformation; International Business with Regional Focus) rule
“The following overview sorted by faculty, degree, and degree programme shows the required level of German language proficiency and/or the required or recommended level of foreign language proficiency which must be fulfilled as language entrance requirement at the time of enrolment. ... Unless stated otherwise, all programmes are taught in German. ... FWI | M.Eng. | Business and Engineering (in English) | A2 | English: B2 ... FAS | M.A. | International Social Work with Refugees and Migrants (in English) | A2 | English: B2 ... FWI | MBA | Transformation (in English) | A1 | English: B2 ... FBus | MBA | International Business with Regional Focus (in English) | A1 | English: B2”
THWS Würzburg-Schweinfurt, M.Eng. Electrical Engineering and Information Technology taught in English: with B2 English at enrolment, A2 German proof by the end of the second semester2 semesters
“when choosing English as the language of instruction and examination; if poof of English knowledge at B2-level is submitted upon enrolment, proof of German knowledge at A2-level must be submitted by the end of the second semester.”