rebase git repo using shell script

re-base your git repository and create a new working branch for current project changes