Add commit and patch db objects. commit represents a commit. Patch represents the changes on one file.
Commit is now working properly. Commits can be viewed in django admin page. Patches working (but commented out due to unreasonable increase in execution time)
Merge remote-tracking branch 'remotes/origin/master'