Constructor. Either sha or content must be defined.
CreateGitTreeEntry( this.path, this.mode, this.type, { this.sha, this.content, });