Parses gitStatus and returns an array of StatusObjects.
gitStatus
Type: string
The output of the command git status --porcelain.
--
StatusObject
Each status object in the array has the following format:
let statusObj = { x: 'A', // status code character y: 'A', // status code character to: 'bar.js', // the destination path (or just the path if not renamed) from: 'foo.js', // the source path if a rename (null otherwise)}