1-- Remove the history from
2rm -rf .git
3
4-- recreate the repos from the current content only
5git init
6git add .
7git commit -m "Initial commit"
8
9-- push to the github remote repos ensuring you overwrite history
10git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git
11git push -u --force origin master
Created on 10/22/2021