You can apply for the German visa online from India by following the steps listed below:
Step 1: Have a valid job offer from Germany
Step 2: Gather all the necessary documents
Step 3: Apply for the German work permit or work visa
Step 4: Give your fingerprint and submit your application
Step 5: Pay the required visa fees
Step 6: Make an appointment at the embassy of your destination country
Step 7: Attend visa interview
Step 8: If eligibility criteria are met, you will get a work visa to Germany.