Ordering rankings for sorting
Writes to file repository now works
Now lockfile allows empty commits (for a file repository (not a git repository))