Git-Support: Added staging of chunks.

- Individual chunks can be staged in the diff buffer.
- Smoother updating of buffers.
- Minor corrections.