Merge pull request #848 from carlosmn/pending-message repository: add a getter and remove function for git's prepared message