Minor cleanup by extracting constants
Make GitIndex.commit() return an IStatus so we can surface error messages