[backend/git] Fix errors.