[DON'T MERGE] Basic implementation of checkForUncommittedChanges.

@gaurave

Initial implementation of the function as shown and as discussed this evening.
I'm not sure what you would prefer in terms how to return the GitConfig object with the appropriate properties (I couldn't tell which properties)... But I have indicated how it would return.

This should NOT be merged yet. Just issuing a pull request to alert you to the future change.