Commits: Store relevant commits in database.