refactor FileInfo, GitInfo to use BaseInfo