Aborts a rebase that is currently in progress, resetting the repository and working directory to their state before rebase began.
The rebase that is in-progress
Zero on success; GIT_ENOTFOUND if a rebase is not in progress, -1 on other errors.