Step 1: To delete a file run: git rm - Step 2: Commit your staged deletion by: git commit -a "commit message" - Step 3: Push your changes by: git push origin master