If you made some deletion in a local repository and you want to remove the specific files from the github repository in the next commit just use the following code snippet. git add . -A git commit -m “version xxxx”…