fetch and rebase before commit