blame: move origin-related methods to libgit