Export git_revert_commit

Fixes #2437