Git Helpers Remove master/main branch from git and replace for one locally git push origin otherbranch:master -f Change author name/email from oldest commits git rebase --root --exec "git commit --amend --author='AUTHOR NAME <email>' --no-edit"