RECREATE A REPO WITH ONLY THE CONTENT Remove the history rm -rf .git recreate the repo from the current content only git init git add . git commit -m "Initial commit" push to the github remote repos ensuring you overwrite history