[PATCH 5/7] gitdir: Add method for getting uncommitted changes