1.Remove the history from

1
rm -rf .git

2.recreate the repos from the current content only

1
2
3
git init
git add .
git commit -m "Initial commit"

3.push to the github remote repos ensuring you overwrite history

1
2
git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git
git push -u --force origin master