Try out a safer approach to parse the status --porcelain
Add a note for the previous commit