git checkout --orphan latest_branch
git add -A
git commit -am "Clear history"
git branch -D master
git branch -m master
git push -f origin master
git checkout --orphan latest_branch
git add -A
git commit -am "Clear history"
git branch -D master
git branch -m master
git push -f origin master