Added saving for git repo to db.