feat: Add git fetch and error handling to ai-rebase.sh
This change adds `git fetch` with arguments provided by the user
to ensure the script operates on the latest remote state. It also
includes `set -e` for immediate exit on errors, improving the
reliability of the script.