execute git commands, format-patch and interactive rebase