Git integration for buffers