Perform a git squash

I needed to copy code from one repo to another removing all prior commits, this did the trick

1git commit -m "Enter commit message for your new initial commit"
2
3# Overwrite the old master branch reference with the new one
4git branch -M new-master master```