Bare naked merge and rebase

Add `revert_commit` and `merge_commits` that are lovely helper methods that provide revert and merge support for bare repositories.