Checkout
git checkout --orphan latest_branchAdd all the files
git add -ACommit the changes
git commit -am "commit message"Delete the branch
git branch -D masterRename the current branch to master
git branch -m masterFinally, force update your repository
git push -f origin master