Only allow one repository in a database

- Also remove not-useful `name` from Commit object