how to rebase and squash commits to github branch