git merge commits
#merge last 3 commits git rebase -i HEAD~3 #pick commits (pick first, squash rest) #update commit message #push commit to remote git push --force origin my_branch