Gets the index of the rebase operation that is currently being applied.
If the first operation has not yet been applied (because you have
called init but not yet next) then this returns
GIT_REBASE_NO_OPERATION.
The index of the rebase operation currently being applied.